Skip to content

Commit

Permalink
add logline (ethereum#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-chain authored Feb 24, 2021
1 parent e7a13b2 commit abfa0a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/vm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func run(evm *EVM, contract *Contract, input []byte, readOnly bool) ([]byte, err
log.Debug("Calling Known Contract", "Name", name, "Message", err)
} else {
log.Debug("Calling Known Contract", "Name", name, "Method", method.RawName)
if method.RawName == "ovmREVERT" {
log.Debug("Contract Threw Exception", "asciified", string(input))
}
}
}
}
Expand Down

0 comments on commit abfa0a8

Please sign in to comment.