We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582d278 commit 9ffe7ebCopy full SHA for 9ffe7eb
lib/internal/Magento/Framework/Console/Cli.php
@@ -102,7 +102,11 @@ public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
102
*/
103
public function doRun(Console\Input\InputInterface $input, Console\Output\OutputInterface $output)
104
{
105
- $exitCode = parent::doRun($input, $output);
+ try {
106
+ $exitCode = parent::doRun($input, $output);
107
+ } catch (\Exception $e) {
108
+ $output->writeln($e->getTraceAsString());
109
+ }
110
111
if ($this->initException) {
112
throw $this->initException;
0 commit comments