Skip to content

Commit 9817fb2

Browse files
committed
Minor fix
1 parent 48a1a7a commit 9817fb2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sqlchain/chain.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,9 @@ func (c *Chain) mainCycle(ctx context.Context) {
693693
return
694694
default:
695695
if err := c.syncHead(); err != nil {
696-
c.logEntry().WithError(err).Error("failed to sync head")
696+
if err != ErrInitiating {
697+
c.logEntry().WithError(err).Error("failed to sync head")
698+
}
697699
continue
698700
}
699701
if t, d := c.rt.nextTick(); d > 0 {

0 commit comments

Comments
 (0)