summaryrefslogtreecommitdiff
path: root/framework/Exceptions/TErrorHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-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 458d3169..f88396ce 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -21,6 +21,7 @@ class TErrorHandler extends TComponent implements IErrorHandler
{
$application->attachEventHandler('Error',array($this,'handle'));
$this->_initialized=true;
+ $application->setErrorHandler($this);
}
/**