From 98a62102b742960ff7202b0614fc2801dd60ad12 Mon Sep 17 00:00:00 2001 From: Hemna Date: Fri, 8 Nov 2024 13:47:02 -0500 Subject: [PATCH] Don't break logging aprslib failures this patch removes the newline when logging failures to parse aprs packets in aprslib --- aprsd/client/drivers/aprsis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aprsd/client/drivers/aprsis.py b/aprsd/client/drivers/aprsis.py index e4d9346..405de57 100644 --- a/aprsd/client/drivers/aprsis.py +++ b/aprsd/client/drivers/aprsis.py @@ -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, )