XXX add debug log for ping fail

This commit is contained in:
Sebastian Mark 2024-11-21 19:52:18 +01:00
parent a98b4bc154
commit 6f355fe441

View file

@ -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
}