From 2d618188c80eaf93412445d327f8cd234e9a8d62 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 22 Apr 2023 13:10:25 +0200 Subject: [PATCH] Print the full exception stack trace if `.status` fails. --- platypush/plugins/sensor/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/sensor/__init__.py b/platypush/plugins/sensor/__init__.py index 636dacb30..150172f74 100644 --- a/platypush/plugins/sensor/__init__.py +++ b/platypush/plugins/sensor/__init__.py @@ -408,6 +408,7 @@ class SensorPlugin(RunnablePlugin, SensorEntityManager, ABC): e, sleep_retry_secs, ) + self.logger.exception(e) self.wait_stop(sleep_retry_secs) sleep_retry_secs = min( sleep_retry_secs * 2,