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()