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
…1399)

Co-authored-by: Ashish Kapil <[email protected]>
  • Loading branch information
Ashishkapil and Ashish Kapil authored Dec 26, 2024
1 parent 1f27c40 commit 7609c70
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 7609c70

Please sign in to comment.