[2.0] Adding exception outputting to CLI
This commit is contained in:
parent
b8bcd51ff2
commit
bf90126edf
@ -185,7 +185,7 @@ class Cli
|
||||
}
|
||||
} catch (\Doctrine\Common\DoctrineException $e) {
|
||||
$this->_printer->writeln(
|
||||
$taskName . ':' . $e->getMessage() . PHP_EOL, 'ERROR'
|
||||
$taskName . ': ' . $e->getMessage() . PHP_EOL . PHP_EOL . $e->getTraceAsString(), 'ERROR'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user