summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Exceptions')
-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;
}