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
path: root/core
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-27 07:49:28 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-27 07:49:28 +0400
commit6e3174488c1d0e99324bde25a7e2984ac1db6a25 (patch)
treef6b1af0b5f9fc16697d755bd482afe5e6c149bc8 /core
parentc26ef854ba03a958b7edcb93e77f3ad118fd299e (diff)
Ignore nested exception.
Diffstat (limited to 'core')
-rw-r--r--core/FrontController.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/FrontController.php b/core/FrontController.php
index 89aaefd9ef..959b1c8cd7 100644
--- a/core/FrontController.php
+++ b/core/FrontController.php
@@ -264,7 +264,13 @@ class FrontController
if (self::shouldRethrowException()) {
throw $e;
}
- Piwik_PostEvent('FrontController.badConfigurationFile', array($e), $pending = true);
+
+ try {
+ Piwik_PostEvent('FrontController.badConfigurationFile', array($e), $pending = true);
+ } catch (Exception $nested) {
+ // ignore
+ }
+
throw $e;
}