adjusted logging

This commit is contained in:
DJ2LS 2022-11-20 18:34:45 +01:00
parent 33e0f61675
commit 4c877357f7

View file

@ -1348,6 +1348,16 @@ class DATA:
) )
return True return True
self.log.warning(
"[TNC] SESSION FAILED ["
+ str(self.mycallsign, "UTF-8")
+ "]>>X<<["
+ str(static.DXCALLSIGN, "UTF-8")
+ "]",
a=attempt + 1 + "/" + self.session_connect_max_retries, # Adjust for 0-based for user display
reason="maximum connection attempts reached",
state=static.ARQ_SESSION_STATE,
)
static.ARQ_SESSION_STATE = "failed" static.ARQ_SESSION_STATE = "failed"
self.send_data_to_socket_queue( self.send_data_to_socket_queue(
freedata="tnc-message", freedata="tnc-message",