diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-23 12:18:19 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-23 12:18:19 +0400 |
commit | da38169ad193948602f9b4d6f93c1f77cacac344 (patch) | |
tree | 58afda9216c6cf7c1acc4554133962bd83862a3a /core/ExceptionHandler.php | |
parent | 809ca913e379113e4c64e9fa82a0d8f17fe8fca6 (diff) |
Made changes.
Diffstat (limited to 'core/ExceptionHandler.php')
-rw-r--r-- | core/ExceptionHandler.php | 4 |
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; } |