From 7609c705cc3ebeb2fc6d132a2b79e0700102d7a4 Mon Sep 17 00:00:00 2001 From: Ashish Kapil Date: Thu, 26 Dec 2024 11:21:04 +0530 Subject: [PATCH] Fix format verb in error wrapping in AcceptConnectionRequests method (#1399) Co-authored-by: Ashish Kapil --- 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