Skip to content

Commit

Permalink
Type of error field in structlog logger differs from geth, alloy (er…
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored and cffls committed Oct 4, 2024
1 parent 8cba58d commit 1484864
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eth/tracers/logger/json_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ func (l *JsonStreamLogger) CaptureState(pc uint64, op vm.OpCode, gas, cost uint6
if err != nil {
l.stream.WriteMore()
l.stream.WriteObjectField("error")
l.stream.WriteObjectStart()
l.stream.WriteObjectEnd()
//l.stream.WriteString(err.Error())
l.stream.WriteString(err.Error())
}
if !l.cfg.DisableStack {
l.stream.WriteMore()
Expand Down

0 comments on commit 1484864

Please sign in to comment.