webhooks: Move shutdown debugging to "klippy:analyze_shutdown" event

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2025-10-18 12:18:18 -04:00
1 parent 6f5ab8d0e8
commit 54d2716bdd
1 file changed
+2 -2
+2 -2
View File
@@ -136,7 +136,7 @@ class ServerSocket:
printer.register_event_handler(
'klippy:disconnect', self._handle_disconnect)
printer.register_event_handler(
"klippy:shutdown", self._handle_shutdown)
"klippy:analyze_shutdown", self._handle_analyze_shutdown)
def _handle_accept(self, eventtime):
try:
@@ -157,7 +157,7 @@ class ServerSocket:
except socket.error:
pass
def _handle_shutdown(self):
def _handle_analyze_shutdown(self, msg, details):
for client in self.clients.values():
client.dump_request_log()