diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 2d2cf1f67f..67e4ce98bb 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -955,7 +955,7 @@ func (api *API) traceTx(ctx context.Context, tx *types.Transaction, message *cor defer func() { if r := recover(); r != nil { value = nil - returnErr = fmt.Errorf("panic occured: %s, could not trace tx: %s", r, tx.Hash()) + returnErr = fmt.Errorf("panic occured: %v, could not trace tx: %s", r, tx.Hash()) } }() if config == nil {