diff --git a/src/queue/src/Console/WorkCommand.php b/src/queue/src/Console/WorkCommand.php index fef95365a..edea7155b 100644 --- a/src/queue/src/Console/WorkCommand.php +++ b/src/queue/src/Console/WorkCommand.php @@ -192,6 +192,10 @@ protected function listenForEvents(): void */ protected function writeOutput(Job $job, $status, ?Throwable $exception = null): void { + if ($this->output->isQuiet() || $this->output->isSilent()) { + return; + } + $this->outputUsingJson() ? $this->writeOutputAsJson($job, $status, $exception) : $this->writeOutputForCli($job, $status);