Log traceback in debug for Sonos unsubscribe errors (#65596)
parent
718da64728
commit
8c0c4f9bca
|
@ -400,7 +400,12 @@ class SonosSpeaker:
|
||||||
)
|
)
|
||||||
for result in results:
|
for result in results:
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
_LOGGER.debug("Unsubscribe failed for %s: %s", self.zone_name, result)
|
_LOGGER.debug(
|
||||||
|
"Unsubscribe failed for %s: %s",
|
||||||
|
self.zone_name,
|
||||||
|
result,
|
||||||
|
exc_info=result,
|
||||||
|
)
|
||||||
self._subscriptions = []
|
self._subscriptions = []
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
|
|
Loading…
Reference in New Issue