setName('foo3:bar') ->setDescription('The foo3:bar command') ; } protected function execute(InputInterface $input, OutputInterface $output) { try { try { throw new \Exception('First exception
this is html
'); } catch (\Exception $e) { throw new \Exception('Second exception