Skip to content

Commit 26ba416

Browse files
committed
propagate error
1 parent cee6b54 commit 26ba416

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

aws/logs_monitoring_go/internal/pipeline/pipeline.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ func Run[T any](
2626

2727
g.Go(func() error {
2828
defer close(entries)
29-
handler(ctx, event, cfg, entries)
30-
return nil
29+
return handler(ctx, event, cfg, entries)
3130
})
3231

3332
g.Go(func() error {

0 commit comments

Comments
 (0)