build(deps): bump Go to 1.24 (#2060)

* build(deps): bump Go to 1.24
This commit is contained in:
ze0s 2025-05-01 16:36:55 +02:00 committed by GitHub
parent b980b5530d
commit 1ae8624e05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 15 additions and 24 deletions

View file

@ -7,7 +7,6 @@ import (
"bytes"
"context"
"encoding/json"
"fmt"
"net/http"
"reflect"
"strconv"
@ -186,7 +185,7 @@ func (c *rpcClient) doCall(ctx context.Context, request RPCRequest) (*RPCRespons
if err != nil {
if httpResponse.StatusCode >= 400 {
return nil, errors.Wrap(err, fmt.Sprintf("rpc call %v() on %v status code: %v. Could not decode body to rpc response", request.Method, httpRequest.URL.String(), httpResponse.StatusCode))
return nil, errors.Wrap(err, "rpc call %v() on %v status code: %v. Could not decode body to rpc response", request.Method, httpRequest.URL.String(), httpResponse.StatusCode)
}
// if res.StatusCode == http.StatusUnauthorized {
// return nil, errors.New("unauthorized: bad credentials")