diff --git a/Classes/Command/JobCommandController.php b/Classes/Command/JobCommandController.php index 860da21..faf1b8a 100644 --- a/Classes/Command/JobCommandController.php +++ b/Classes/Command/JobCommandController.php @@ -88,7 +88,8 @@ public function workCommand($queue, $exitAfter = null, $limit = null, $verbose = $numberOfJobExecutions ++; $this->outputLine('%s', [$exception->getMessage()]); if ($verbose && $exception->getPrevious() instanceof \Exception) { - $this->outputLine(' Reason: %s', [$exception->getPrevious()->getMessage()]); + $this->outputLine('Reason:'); + $this->outputLine($exception->getPrevious()->getMessage()); } } catch (\Exception $exception) { $this->outputLine('Unexpected exception during job execution: %s, aborting...', [$exception->getMessage()]);