Skip to content

Commit cf79ee5

Browse files
committed
tiny log fix
1 parent b3819dd commit cf79ee5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ func (m *Monitor) syncLastBlock() uint64 {
579579
if maxNumber-i >= m.scope {
580580
blocks, rpcErr := m.rpcBatchBlockByNumber(i, i+m.scope)
581581
if rpcErr != nil {
582-
log.Error("Sync old block failed", "number", i, "error", rpcErr)
582+
log.Error("Batch sync old block failed", "current", maxNumber, "number", i, "batch", m.scope, "error", rpcErr)
583583
m.lastNumber.Store(i - 1)
584584
return 0
585585
}

0 commit comments

Comments
 (0)