Skip to content

Commit

Permalink
Fix format verb in error wrapping in AcceptConnectionRequests method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish Kapil authored and Ashish Kapil committed Dec 24, 2024
1 parent 1f27c40 commit 79ef759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/resp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79ef759

Please sign in to comment.