From 89efba8a82ae7c51c416f767ea646e7f6140f718 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Wed, 5 Mar 2025 12:14:16 +0000 Subject: [PATCH] Fixed exception in job crashing the worker --- src/Worker/Worker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Worker.php b/src/Worker/Worker.php index ccca195..c4aec18 100644 --- a/src/Worker/Worker.php +++ b/src/Worker/Worker.php @@ -175,7 +175,7 @@ class Worker } $this->queuedJob->save(); - } catch(Exception $ex) { + } catch(\Exception $ex) { if ($this->debug) $this->debug->error('Job execution failed!', [$ex]); $io->error('An exception occurred attempting to run a job');