Squashed minor logging bug
Minor logging bug when master receives and unknown command. It tried to log _radio_id, but in this case, we don’t know the radio ID since we can’t parse the HBP PDU.
This commit is contained in:
parent
6584ba7431
commit
bec229fbe7
|
@ -348,7 +348,7 @@ class HBSYSTEM(DatagramProtocol):
|
||||||
self._logger.warning('(%s) Client info from Radio ID that has not logged in: %s', self._system, int_id(_radio_id))
|
self._logger.warning('(%s) Client info from Radio ID that has not logged in: %s', self._system, int_id(_radio_id))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self._logger.error('(%s) Unrecognized command from: %s. Packet: %s', self._system, int_id(_radio_id), ahex(_data))
|
self._logger.error('(%s) Unrecognized command. Raw HBP PDU: %s', self._system, ahex(_data))
|
||||||
|
|
||||||
# Aliased in __init__ to datagramReceived if system is a client
|
# Aliased in __init__ to datagramReceived if system is a client
|
||||||
def client_datagramReceived(self, _data, (_host, _port)):
|
def client_datagramReceived(self, _data, (_host, _port)):
|
||||||
|
|
Loading…
Reference in New Issue