mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Log traceback in debug for Sonos unsubscribe errors (#65596)
This commit is contained in:
parent
c8827e00b3
commit
3c43089cc2
@ -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…
x
Reference in New Issue
Block a user