Skip to content

Commit

Permalink
print packet when ZDO packet deserialize fails
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 authored Dec 8, 2024
1 parent b75c656 commit 49d708c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zigpy_znp/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ async def on_zdo_message(self, msg: c.ZDO.MsgCbIncoming.Callback) -> None:
cluster_id=packet.cluster_id, data=packet.data.serialize()
)
except Exception:
LOGGER.warning("Failed to deserialize ZDO packet", exc_info=True)
LOGGER.warning( f"Failed to deserialize ZDO packet {packet}", exc_info=True)
else:
if zdo_hdr.command_id == zdo_t.ZDOCmd.Device_annce:
_, ieee, _ = zdo_args
Expand Down

0 comments on commit 49d708c

Please sign in to comment.