Skip to content

Commit 4d12177

Browse files
committed
log update
1 parent 6741303 commit 4d12177

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/common/log.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ func DecodeLogs(chainId string, logs []Log) []*DecodedLog {
117117
log.Error().
118118
Any("chainId", chainId).
119119
Any("Logs", logs).
120+
Int("logIndex", idx).
121+
Str("logAddress", eventLog.Address).
122+
Str("logTopic0", eventLog.Topic0).
120123
Err(fmt.Errorf("%v", err)).
121124
Msg("Caught panic in DecodeLogs, possibly in decodeLogFunc")
122125
}

0 commit comments

Comments
 (0)