Skip to content

Commit

Permalink
events: use %v to log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k authored Nov 24, 2020
1 parent 7c0b6f4 commit eb2be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (e *Events) listenHeadChangesOnce(ctx context.Context) error {
}

if err := e.tsc.add(cur[0].Val); err != nil {
log.Warnf("tsc.add: adding current tipset failed: %w", err)
log.Warnf("tsc.add: adding current tipset failed: %v", err)
}

e.readyOnce.Do(func() {
Expand Down

0 comments on commit eb2be69

Please sign in to comment.