From cfa6ed653b29973021515c4696d1e286f2fba8f2 Mon Sep 17 00:00:00 2001 From: andig Date: Thu, 26 Feb 2026 17:57:47 +0100 Subject: [PATCH] chore: fix logging --- charger/warp-ws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charger/warp-ws.go b/charger/warp-ws.go index 59be954cd..bb25c4319 100644 --- a/charger/warp-ws.go +++ b/charger/warp-ws.go @@ -191,7 +191,7 @@ func (w *WarpWS) run(ctx context.Context, options digest.Options) { conn, err := dialWebsocket(ctx, options) if err != nil { - if !errors.Is(context.DeadlineExceeded, err) { + if !errors.Is(err, context.DeadlineExceeded) { w.log.ERROR.Printf("websocket: %v", err) }