summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-04-25 19:42:06 +0000
committerxue <>2007-04-25 19:42:06 +0000
commita18bbd7e552fed0f23dd8b3e6fb5ff7c7257ac4d (patch)
tree3344304a352eb99b22ff9895af63cee05df3b11a
parent705163ee024426bd622d9722b7d18dd0e6920820 (diff)
Added error message display for TShellApplication.
-rw-r--r--framework/Exceptions/TErrorHandler.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index 62c51d27..c0216f02 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -208,6 +208,7 @@ class TErrorHandler extends TModule
{
if(php_sapi_name()==='cli')
{
+ echo $exception->getMessage()."\n";
echo $exception->getTraceAsString();
return;
}