patch-NONE

This commit is contained in:
Kelly
2026-06-06 13:24:35 -07:00
parent 38d362a322
commit ca70fa0158
+2 -2
View File
@@ -1875,8 +1875,8 @@ def consumeMetadata(packet, rxNode=0, channel=-1):
routing_data = packet['decoded']['routing']
# Meshtastic Python/client can surface this field as errorReason or error_reason.
error_reason = routing_data.get('errorReason', routing_data.get('error_reason', ''))
if error_reason:
error_reason = str(routing_data.get('errorReason', routing_data.get('error_reason', ''))).strip()
if error_reason and error_reason.upper() != 'NONE':
requester_node = packet.get('from', nodeID)
requester_id = packet.get('fromId', '')
target_node = packet.get('to', 0)