commit
3cca2e079b
1 changed files with 0 additions and 1 deletions
|
|
@ -169,7 +169,6 @@ func (c *Consumer) Scan(ctx context.Context, fn ScanFunc) error {
|
|||
if err != nil {
|
||||
select {
|
||||
case errC <- fmt.Errorf("shard %s error: %w", shardID, err):
|
||||
// first error to occur
|
||||
cancel()
|
||||
default:
|
||||
// error has already occurred
|
||||
|
|
|
|||
Loading…
Reference in a new issue