From fcac02a92f42014907face0a95cb655581165efd Mon Sep 17 00:00:00 2001 From: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:04:34 +0200 Subject: [PATCH] add log (#2546) --- client/internal/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/engine.go b/client/internal/engine.go index 52912f11e..0d80806a4 100644 --- a/client/internal/engine.go +++ b/client/internal/engine.go @@ -244,7 +244,7 @@ func (e *Engine) Stop() error { err := e.removeAllPeers() if err != nil { - return err + return fmt.Errorf("failed to remove all peers: %s", err) } e.clientRoutesMu.Lock()