events: use %v to log errors

This commit is contained in:
Łukasz Magiera 2020-11-24 17:51:19 +01:00 committed by GitHub
parent 7c0b6f41d8
commit eb2be69ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {