This commit is contained in:
Fernandez Ludovic 2026-02-13 19:05:44 +01:00
commit 1e46d9b1d3

View file

@ -197,7 +197,8 @@ func (d *Client) doRequest(ctx context.Context, method string, params []any, res
var rpcResp APIResponse
if err := json.Unmarshal(raw, &rpcResp); err != nil {
err = json.Unmarshal(raw, &rpcResp)
if err != nil {
return errutils.NewUnmarshalError(req, resp.StatusCode, raw, err)
}