From ac62fe44485065b72ca100860be8b0f52579db14 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:46:57 +0100 Subject: [PATCH] more logging for TypeError when saving data --- tnc/data_handler.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index fd51b247..db4171e7 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -849,8 +849,13 @@ class DATA: # # Occurs on Raspberry Pi and Python 3.7 self.log.error( - "[TNC] ARQ | RX | error occured when saving data. Might be a Python bug... sorry", - e=e + "[TNC] ARQ | RX | error occurred when saving data!", + e=e, + uuid = self.transmission_uuid, + timestamp = timestamp, + dxcall = static.DXCALLSIGN, + dxgrid = static.DXGRID, + data = base64_data ) self.send_data_to_socket_queue(