Skip to content

Commit d0aeecd

Browse files
Merge pull request #154 from stackkit/bugfix/report-errors
Fix exceptions in jobs not reported to exception handler
2 parents 81bf6e5 + 6846450 commit d0aeecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TaskHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function handle(?string $task = null): void
4141
// is returned. Because we manually manage retries by releaseing jobs,
4242
// we never want to return a 5xx status as that will result in duplicate
4343
// job attempts.
44-
rescue(fn () => $this->run($task), report: false);
44+
rescue(fn () => $this->run($task));
4545
}
4646

4747
private function run(IncomingTask $task): void

0 commit comments

Comments
 (0)