diff options
author | xue <> | 2007-04-25 19:42:06 +0000 |
---|---|---|
committer | xue <> | 2007-04-25 19:42:06 +0000 |
commit | a18bbd7e552fed0f23dd8b3e6fb5ff7c7257ac4d (patch) | |
tree | 3344304a352eb99b22ff9895af63cee05df3b11a /framework | |
parent | 705163ee024426bd622d9722b7d18dd0e6920820 (diff) |
Added error message display for TShellApplication.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 1 |
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;
}
|