cmd/evm/internal/t8ntool: log writeTraceResult error message (#30038)

pull/30091/head
maskpp 5 months ago committed by GitHub
parent 36d67be41b
commit 4939c25341
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      cmd/evm/internal/t8ntool/execution.go

@ -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)
}
}
}

Loading…
Cancel
Save