From 4fe1cbbbc7689ea92b60a89f871bfbd376a3dcaf 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..c35d16c 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.Info("ping failed", "host", client.RealIP) return false }