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 untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -408,6 +408,7 @@ class SensorPlugin(RunnablePlugin, SensorEntityManager, ABC):
e, e,
sleep_retry_secs, sleep_retry_secs,
) )
self.logger.exception(e)
self.wait_stop(sleep_retry_secs) self.wait_stop(sleep_retry_secs)
sleep_retry_secs = min( sleep_retry_secs = min(
sleep_retry_secs * 2, sleep_retry_secs * 2,