Update cmd/evm/runner.go
Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
parent
dc78fceb7a
commit
39a39ce0da
|
@ -301,10 +301,9 @@ func runCmd(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
bench := ctx.Bool(BenchFlag.Name)
|
bench := ctx.Bool(BenchFlag.Name)
|
||||||
output, stats, execErr, benchErr := timedExec(bench, execFunc)
|
output, stats, execErr, err := timedExec(bench, execFunc)
|
||||||
if benchErr != nil {
|
if err != nil {
|
||||||
fmt.Printf("benchmarking execution failed: %v\n", benchErr)
|
return fmt.Errorf("benchmarking failed: %v\n", err)
|
||||||
return benchErr
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.Bool(DumpFlag.Name) {
|
if ctx.Bool(DumpFlag.Name) {
|
||||||
|
|
Loading…
Reference in New Issue