1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-01-17 02:55:49 -05:00

Don't log failed packets as error

This commit is contained in:
Walter Boring 2026-01-14 17:02:21 -05:00
parent c4ccafc507
commit 0320a4aa3c
2 changed files with 5 additions and 2 deletions

View File

@ -145,7 +145,10 @@ class APRSDFilterThread(APRSDThread):
# driver may need to decode the packet differently.
packet = self._client.decode_packet(pkt)
if not packet:
LOG.error(f'Packet failed to parse. "{pkt}"')
# We mark this as debug, since there are so many
# packets that are on the APRS network, and we don't
# want to spam the logs with this.
LOG.debug(f'Packet failed to parse. "{pkt}"')
return True
self.print_packet(packet)
if packet:

View File

@ -1,6 +1,6 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --resolver backtracking --annotation-style=line requirements.in -o requirements.txt
aprslib @ git+https://github.com/hemna/aprs-python.git@301d071480fc113d12f6abb57bbbfb65f1579aff # via -r requirements.in
aprslib @ git+https://github.com/hemna/aprs-python.git@a336be2e7fb70d62a0ce8c328762c09b4598a205 # via -r requirements.in
attrs==25.4.0 # via ax253, kiss3, rush
ax253==0.1.5.post1 # via kiss3
bitarray==3.8.0 # via ax253, kiss3