1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-21 07:41:49 -05:00

Don't break logging aprslib failures

this patch removes the newline when logging failures to parse
aprs packets in aprslib
This commit is contained in:
Hemna 2024-11-08 13:47:02 -05:00
parent 7d1e739502
commit 98a62102b7

View File

@ -193,14 +193,14 @@ class Aprsdis(aprslib.IS):
except ParseError as exp:
self.logger.log(
11,
"%s\n Packet: %s",
"%s Packet: '%s'",
exp,
exp.packet,
)
except UnknownFormat as exp:
self.logger.log(
9,
"%s\n Packet: %s",
"%s Packet: '%s'",
exp,
exp.packet,
)