Fixed exception in job crashing the worker

This commit is contained in:
bwilliams committed 2025-03-05 12:14:16 +00:00
1 parent 7fbc1a364d
commit 89efba8a82
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ class Worker
} }
$this->queuedJob->save(); $this->queuedJob->save();
} catch(Exception $ex) { } catch(\Exception $ex) {
if ($this->debug) $this->debug->error('Job execution failed!', [$ex]); if ($this->debug) $this->debug->error('Job execution failed!', [$ex]);
$io->error('An exception occurred attempting to run a job'); $io->error('An exception occurred attempting to run a job');