Fixed exception in job crashing the worker
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user