Print the full exception stack trace if `.status` fails.

This commit is contained in:
Fabio Manganiello 2023-04-22 13:10:25 +02:00
parent b3a0896485
commit 2d618188c8
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 0 deletions

View File

@ -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,