Log the packet type when we get an invalid protobuf message (#343)
This commit is contained in:
parent
a3e3cec26e
commit
15edff86a3
|
@ -583,8 +583,9 @@ class APIConnection:
|
|||
msg.ParseFromString(pkt.data)
|
||||
except Exception as e:
|
||||
_LOGGER.info(
|
||||
"%s: Invalid protobuf message: %s: %s",
|
||||
"%s: Invalid protobuf message: type=%s data=%s: %s",
|
||||
self.log_name,
|
||||
pkt.type,
|
||||
pkt.data,
|
||||
e,
|
||||
exc_info=True,
|
||||
|
|
Loading…
Reference in New Issue