Skip to content

Commit

Permalink
Log error when sanity checks fail
Browse files Browse the repository at this point in the history
  • Loading branch information
joshklop committed Nov 17, 2023
1 parent dff362c commit 6153f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (s *Synchronizer) verifierTask(ctx context.Context, block *core.Block, stat
return
default:
if err != nil {
s.log.Warnw("Sanity checks failed", "number", block.Number, "hash", block.Hash.ShortString())
s.log.Warnw("Sanity checks failed", "number", block.Number, "hash", block.Hash.ShortString(), "err", err)
resetStreams()
return
}
Expand Down

0 comments on commit 6153f4e

Please sign in to comment.