Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #179 from 0xProject/marcin/bugfix
Browse files Browse the repository at this point in the history
Invalid error handling
  • Loading branch information
eitu5ami authored Feb 23, 2024
2 parents 6113693 + a2988ce commit 6777e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/healthchecker_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func performGasLeftCall(c context.Context, client *http.Client, url string) (uin
defer resp.Body.Close()

if resp.StatusCode != http.StatusOK {
return 0, errors.Wrap(err, "gas left check failed")
return 0, errors.New("gas left check failed")
}

result := &JSONRPCResponse{}
Expand Down

0 comments on commit 6777e19

Please sign in to comment.