Skip to content

Commit

Permalink
fix: added missing return after error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattayres authored and himank committed Apr 25, 2022
1 parent 46bfd14 commit f26274a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdc/streamer.go
Expand Up @@ -61,6 +61,7 @@ func (s *Streamer) start() error {
for range s.ticker.C {
if err := s.read(); err != nil {
log.Err(err).Msg("read failed")
return
}
}
}()
Expand Down

0 comments on commit f26274a

Please sign in to comment.