Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2008-08-14 22:09:06 +0400
committermattpiwik <matthieu.aubry@gmail.com>2008-08-14 22:09:06 +0400
commit72d560fd4c8c66febafe3aabda47e9b583f2c390 (patch)
tree4d7d4ca8e30621e9691b08dfaa7a8b9c4c53634f /core/ErrorHandler.php
parent72d460ee245585b6c550430b52342333c2b19b60 (diff)
git-svn-id: http://dev.piwik.org/svn/trunk@598 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ErrorHandler.php')
-rw-r--r--core/ErrorHandler.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php
index a985e14e6e..3b7608d54f 100644
--- a/core/ErrorHandler.php
+++ b/core/ErrorHandler.php
@@ -33,10 +33,9 @@ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline)
$backtrace = ob_get_contents();
ob_end_clean();
-
try {
Zend_Registry::get('logger_error')->log($errno, $errstr, $errfile, $errline, $backtrace);
- }catch(Exception $e){
+ } catch(Exception $e) {
// in case the error occurs before the logger creation, we simply display it
print("<pre>$errstr \nin '$errfile' at the line $errline\n\n$backtrace\n</pre>");
exit;