From a55544da2263d3d1646cd06086788090955b64f3 Mon Sep 17 00:00:00 2001 From: Amadeus Date: Tue, 6 Oct 2026 15:05:21 -0300 Subject: [PATCH] remote_registration.py: Fix TypeError when logging a failed cert request The format string had two placeholders for three arguments, so the socket.error handler raised TypeError instead of logging the error. Co-Authored-By: Claude Opus 5.5 --- src/remote_registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote_registration.py b/src/remote_registration.py index 2f0275cf..37b516a8 100644 --- a/src/remote_registration.py +++ b/src/remote_registration.py @@ -155,7 +155,7 @@ def request(self): logging.debug("Auth: Cert request failed from remote (%s:%d) - (Is their udp port blocked?" % (self.ip_info, self.port)) except socket.error as e: - logging.critical("Something wrong with cert request (%s:%s): " % (remote_ip, self.port, e)) + logging.critical("Something wrong with cert request (%s:%s): %s" % (remote_ip, self.port, e)) return None