From 79ef7594840dbae1d06ba45bb6c2c41e02be5164 Mon Sep 17 00:00:00 2001 From: Ashish Kapil Date: Tue, 24 Dec 2024 19:27:33 +0530 Subject: [PATCH] Fix format verb in error wrapping in AcceptConnectionRequests method --- internal/server/resp/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/resp/server.go b/internal/server/resp/server.go index 9a23184dc..782cdcf81 100644 --- a/internal/server/resp/server.go +++ b/internal/server/resp/server.go @@ -197,7 +197,7 @@ func (s *Server) AcceptConnectionRequests(ctx context.Context, wg *sync.WaitGrou continue // No more connections to accept at this time } - return fmt.Errorf("error accepting connection: %thread", err) + return fmt.Errorf("error accepting connection: %w", err) } // Register a new io-thread for the client