1
0
mirror of synced 2025-02-20 22:23:14 +03:00

[2.0] Adding exception outputting to CLI

This commit is contained in:
jwage 2009-10-07 18:52:11 +00:00
parent b8bcd51ff2
commit bf90126edf

View File

@ -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'
);
}
}