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

Commit

Permalink
Invalid error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
eitu5ami committed Feb 23, 2024
1 parent 6113693 commit a2988ce
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 a2988ce

Please sign in to comment.