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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-23 12:18:19 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-23 12:18:19 +0400
commitda38169ad193948602f9b4d6f93c1f77cacac344 (patch)
tree58afda9216c6cf7c1acc4554133962bd83862a3a /core/ExceptionHandler.php
parent809ca913e379113e4c64e9fa82a0d8f17fe8fca6 (diff)
Made changes.
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r--core/ExceptionHandler.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/ExceptionHandler.php b/core/ExceptionHandler.php
index c6d4f1d22b..ac632f1660 100644
--- a/core/ExceptionHandler.php
+++ b/core/ExceptionHandler.php
@@ -10,7 +10,6 @@
*/
use Piwik\Piwik;
use Piwik\Log;
-use Piwik\Log\ExceptionScreenFormatter;
use Piwik\FrontController;
/**
@@ -22,9 +21,8 @@ use Piwik\FrontController;
function Piwik_ExceptionHandler(Exception $exception)
{
try {
- \Zend_Registry::get('logger_exception')->logEvent($exception);
+ Log::e("%s (%s): %s", array($exception->getFile(), $exception->getLine(), $exception->getMessage())); // TODO add backtrace?
} catch (Exception $e) {
-
if (FrontController::shouldRethrowException()) {
throw $exception;
}