Skip to content

Commit 0865eac

Browse files
committed
Catch also \Throwable
1 parent a5cac01 commit 0865eac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Queue/SynchronousQueue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ private function drain()
2222

2323
try {
2424
$task();
25+
} catch (\Throwable $exception) {
2526
} catch (\Exception $exception) {
2627
}
2728

0 commit comments

Comments
 (0)