kopia lustrzana https://github.com/Yakifo/amqtt
Add message type to exception
rodzic
3d38ce4bce
commit
6daa752800
|
@ -89,7 +89,7 @@ class MQTTFixedHeader:
|
||||||
else:
|
else:
|
||||||
multiplier *= 128
|
multiplier *= 128
|
||||||
if multiplier > 128 * 128 * 128:
|
if multiplier > 128 * 128 * 128:
|
||||||
raise MQTTException("Invalid remaining length bytes:%s" % bytes_to_hex_str(buffer))
|
raise MQTTException("Invalid remaining length bytes:%s, packet_type=%d" % (bytes_to_hex_str(buffer), msg_type))
|
||||||
return value
|
return value
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Ładowanie…
Reference in New Issue