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 }