From bf90126edf49923ce65ec1ad065d3bdce1ec9c7e Mon Sep 17 00:00:00 2001 From: jwage Date: Wed, 7 Oct 2009 18:52:11 +0000 Subject: [PATCH] [2.0] Adding exception outputting to CLI --- lib/Doctrine/ORM/Tools/Cli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/Cli.php b/lib/Doctrine/ORM/Tools/Cli.php index 74c44f476..91965df0b 100644 --- a/lib/Doctrine/ORM/Tools/Cli.php +++ b/lib/Doctrine/ORM/Tools/Cli.php @@ -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' ); } }