mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Do not print full traceback during Sonos resubscription failure (#60644)
This commit is contained in:
parent
65a7563ac9
commit
60adccd549
@ -407,10 +407,12 @@ class SonosSpeaker:
|
|||||||
self.zone_name,
|
self.zone_name,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
exc_info = exception if _LOGGER.isEnabledFor(logging.DEBUG) else None
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Subscription renewals for %s failed",
|
"Subscription renewals for %s failed: %s",
|
||||||
self.zone_name,
|
self.zone_name,
|
||||||
exc_info=exception,
|
exception,
|
||||||
|
exc_info=exc_info,
|
||||||
)
|
)
|
||||||
await self.async_offline()
|
await self.async_offline()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user