Skip to content

Commit

Permalink
appease nilaway
Browse files Browse the repository at this point in the history
  • Loading branch information
abi87 committed Dec 18, 2024
1 parent 1dcbf4d commit c08698e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions execution/client/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ var (
func (s *EngineClient) handleRPCError(
err error,
) error {
if err == nil {
//nolint:nilerr // appease nilaway
return err
}

// Check for timeout errors.
if http.IsTimeoutError(err) {
s.metrics.incrementHTTPTimeoutCounter()
Expand Down

0 comments on commit c08698e

Please sign in to comment.