mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
more err logging
This commit is contained in:
parent
f4597ca6bd
commit
b59afa9fb4
1 changed files with 1 additions and 0 deletions
|
|
@ -622,6 +622,7 @@ func (api *API) traceBlock(ctx context.Context, block *types.Block, config *Trac
|
||||||
}
|
}
|
||||||
res, err := api.traceTx(ctx, msg, txctx, blockCtx, statedb, config)
|
res, err := api.traceTx(ctx, msg, txctx, blockCtx, statedb, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
fmt.Printf("DEBUG - traceBlock traceTx err - tx %+v err %+v\n", tx.Hash(), err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
results[i] = &txTraceResult{TxHash: tx.Hash(), Result: res}
|
results[i] = &txTraceResult{TxHash: tx.Hash(), Result: res}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue