Skip to content

Commit

Permalink
feat: add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
iavl committed Jan 15, 2024
1 parent 4e19ca2 commit ac28d2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ func (c *Client) CallContext(ctx context.Context, result interface{}, method str
return err
}
resp := batchresp[0]
if len(resp.Result) <= 20 {
log.Debug("RPC CallContext", "response", resp)
}
switch {
case resp.Error != nil:
return resp.Error
Expand Down

0 comments on commit ac28d2c

Please sign in to comment.