Skip to content

Commit fc97fc6

Browse files
committed
Removed a panic statement for issue #4
1 parent a206c2f commit fc97fc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

row.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,8 @@ func periodic(ctx context.Context, interval time.Duration, fn func() error) {
592592
select {
593593
case <-ticker.C:
594594
if err := fn(); err != nil {
595-
panic(err)
595+
// panic(err)
596+
return
596597
}
597598
case <-ctx.Done():
598599
return

0 commit comments

Comments
 (0)