From 811df5fe6869b6ab062c573e7d6ed652704511df Mon Sep 17 00:00:00 2001 From: check Date: Mon, 20 Jul 2026 13:18:40 +0200 Subject: [PATCH] [client] Log Down-while-idle at debug instead of error Down returns ErrServiceNotUp when the daemon is already idle, e.g. on quit or a repeated Down. That case is harmless, so log it at debug level and reserve the error log for real teardown failures. --- client/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/server/server.go b/client/server/server.go index 397d0315a..8047006fe 100644 --- a/client/server/server.go +++ b/client/server/server.go @@ -1082,6 +1082,7 @@ func (s *Server) Down(ctx context.Context, _ *proto.DownRequest) (*proto.DownRes if err := s.cleanupConnection(); err != nil { s.mutex.Unlock() if errors.Is(err, ErrServiceNotUp) { + log.Debugf("Down called while service not up: %v", err) return nil, err } log.Errorf("failed to shut down properly: %v", err)