mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
Log error string instead of data (#11038)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
7654ffdcfc
commit
7c30533870
@ -417,7 +417,7 @@ func handleRPCError(err error) error {
|
||||
if !ok {
|
||||
return errors.Wrapf(err, "got an unexpected error in JSON-RPC response")
|
||||
}
|
||||
return errors.Wrapf(ErrServer, "%v", errWithData.ErrorData())
|
||||
return errors.Wrapf(ErrServer, "%v", errWithData.Error())
|
||||
default:
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user