Fixed exception in job crashing the worker

This commit is contained in:
2025-03-05 12:14:16 +00:00
parent 7fbc1a364d
commit 89efba8a82

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');