Skip to content

Commit

Permalink
Demote delayed response from WARNING to DEBUG (#243)
Browse files Browse the repository at this point in the history
* Demote duplicate or delayed response to debug, not warning

* Log the waiting response queue
  • Loading branch information
puddly committed Dec 30, 2023
1 parent 55c4f79 commit 76cdef5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zigpy_deconz/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,10 @@ def data_received(self, data: bytes) -> None:
else:
fut.set_exception(exc)
except asyncio.InvalidStateError:
LOGGER.warning(
"Duplicate or delayed response for 0x:%02x sequence",
LOGGER.debug(
"Duplicate or delayed response for seq %s (awaiting %s)",
command.seq,
self._awaiting[command.seq],
)

if exc is not None:
Expand Down

0 comments on commit 76cdef5

Please sign in to comment.