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 4fe1cbbbc7

View file

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