Add more warnings around radio config, stats loading, and packet decrypt (and remove accidentally committed script whoops)

This commit is contained in:
Jack Kingsman
2026-03-02 16:46:18 -08:00
parent 79db09bd15
commit d8294a8383
6 changed files with 43 additions and 46 deletions
+7
View File
@@ -518,6 +518,13 @@ async def process_raw_packet(
payload_type = packet_info.payload_type if packet_info else None
payload_type_name = payload_type.name if payload_type else "Unknown"
if packet_info is None and len(raw_bytes) > 2:
logger.warning(
"Failed to parse %d-byte packet (id=%d); stored undecrypted",
len(raw_bytes),
packet_id,
)
# Log packet arrival at debug level
path_hex = packet_info.path.hex() if packet_info and packet_info.path else ""
logger.debug(