Skip to content

Commit

Permalink
Update aiosonos/api/websockets.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel van der Veldt <[email protected]>
  • Loading branch information
rjroos and marcelveldt committed Nov 11, 2024
1 parent f0c4960 commit 2aa7715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiosonos/api/websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _handle_incoming_message(
# handle error message
if "errorCode" in msg_data:
if "cmdId" not in msg:
self.logger.error("Received error message without cmdId: %s, msg_data=%s", msg, msg_data)
self.logger.error("Received unhandled error: %s: %s", msg, msg_data)
return
if future := self._result_futures.get(msg["cmdId"]):
future.set_exception(
Expand Down

0 comments on commit 2aa7715

Please sign in to comment.