1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-21 15:51:52 -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: except ParseError as exp:
self.logger.log( self.logger.log(
11, 11,
"%s\n Packet: %s", "%s Packet: '%s'",
exp, exp,
exp.packet, exp.packet,
) )
except UnknownFormat as exp: except UnknownFormat as exp:
self.logger.log( self.logger.log(
9, 9,
"%s\n Packet: %s", "%s Packet: '%s'",
exp, exp,
exp.packet, exp.packet,
) )