Skip to content

Commit

Permalink
cmd/evm/internal/t8ntool: log writeTraceResult error message (#30038)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Jun 28, 2024
1 parent 36d67be commit 4939c25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/evm/internal/t8ntool/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
if tracer.Hooks.OnTxEnd != nil {
tracer.Hooks.OnTxEnd(receipt, nil)
}
writeTraceResult(tracer, traceOutput)
if err = writeTraceResult(tracer, traceOutput); err != nil {
log.Warn("Error writing tracer output", "err", err)
}
}
}

Expand Down

0 comments on commit 4939c25

Please sign in to comment.