1 Commits

Author SHA1 Message Date
89efba8a82 Fixed exception in job crashing the worker 2025-03-05 12:14:16 +00:00

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