diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 07:49:28 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-27 07:49:28 +0400 |
commit | 6e3174488c1d0e99324bde25a7e2984ac1db6a25 (patch) | |
tree | f6b1af0b5f9fc16697d755bd482afe5e6c149bc8 /core | |
parent | c26ef854ba03a958b7edcb93e77f3ad118fd299e (diff) |
Ignore nested exception.
Diffstat (limited to 'core')
-rw-r--r-- | core/FrontController.php | 8 |
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; } |