aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/JobQueue.php
diff options
context:
space:
mode:
Diffstat (limited to 'Digitigrade/JobQueue.php')
-rw-r--r--Digitigrade/JobQueue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/JobQueue.php b/Digitigrade/JobQueue.php
index 9f95584..cce6be5 100644
--- a/Digitigrade/JobQueue.php
+++ b/Digitigrade/JobQueue.php
@@ -65,7 +65,7 @@ class JobQueue extends Singleton {
$job->run();
$this->conn->delete($beanJob);
$log->info('Job ' . $beanJob->getId() . ' completed successfully');
- } catch (\Exception $e) {
+ } catch (\Throwable $e) {
if ($job->remainingTries <= 0) {
$this->conn->delete($beanJob);
$log->error(