From 6f355fe4417d0211f6f90e376b1df2ac0151e871 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Thu, 21 Nov 2024 19:52:18 +0100 Subject: [PATCH] XXX add debug log for ping fail --- internal/websocket/staleClients.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/websocket/staleClients.go b/internal/websocket/staleClients.go index 0752208..bda334d 100644 --- a/internal/websocket/staleClients.go +++ b/internal/websocket/staleClients.go @@ -31,6 +31,7 @@ func sendPing(client *models.WebsocketClient) bool { err := client.Conn.WriteMessage(websocket.PingMessage, nil) if err != nil { + helper.Logger.Debug("ping failed", "host", client.RealIP) return false }