diff --git a/src/CommandProcessor.php b/src/CommandProcessor.php index 99fc4b6..5538fb1 100644 --- a/src/CommandProcessor.php +++ b/src/CommandProcessor.php @@ -246,8 +246,11 @@ protected function updateFormatterOptions($commandData) $format = $formatterOptions->getFormat(); if ($format) { $placeholderStructuredOutput = []; - $formatter = $this->formatterManager->getFormatter($format); - $options = $this->formatterManager->overrideOptions($formatter, $placeholderStructuredOutput, $formatterOptions); + try { + $formatter = $this->formatterManager->getFormatter($format); + $this->formatterManager->overrideOptions($formatter, $placeholderStructuredOutput, $formatterOptions); + } catch (\Exception $e) { + } } }