Skip to content

Commit fd3024e

Browse files
authored
Merge pull request #252 from vroldanbet/do-not-silently-ignore-activity-poll-errors
do not silently ignore errors in ActivityWorker.poll
2 parents 1c1a0b7 + 781a94f commit fd3024e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/worker/activity.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ func (aw *ActivityWorker) poll(ctx context.Context, timeout time.Duration) (*bac
201201
if errors.Is(err, context.DeadlineExceeded) {
202202
return nil, nil
203203
}
204+
205+
return nil, err
204206
}
205207

206208
return task, nil

0 commit comments

Comments
 (0)