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 comment", 0, $e); } } catch (\Exception $e) { throw new \Exception("Third exception comment", 0, $e); } } }