We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80976ad commit 4022989Copy full SHA for 4022989
rollup/rollup_sync_service/rollup_sync_service.go
@@ -146,6 +146,13 @@ func (s *RollupSyncService) Start() {
146
case <-syncTicker.C:
147
err := s.fetchRollupEvents()
148
if err != nil {
149
+ // Do not log the error if the context is canceled.
150
+ select {
151
+ case <-s.ctx.Done():
152
+ return
153
+ default:
154
+ }
155
+
156
log.Error("failed to fetch rollup events", "err", err)
157
}
158
case <-logTicker.C:
0 commit comments