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:
authormattab <matthieu.aubry@gmail.com>2014-05-18 09:28:50 +0400
committermattab <matthieu.aubry@gmail.com>2014-05-18 09:28:50 +0400
commitb712e60c86c1c3398a7756f9a97a3a05d3ff4d37 (patch)
tree11e26c57f7b32b4475bc73471c4d40903707c80c /piwik.php
parentf84b45cafcc4d0d5803690272ab146a6cffdb928 (diff)
Fail when there was an exception in tracker
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/piwik.php b/piwik.php
index f3327f666f..18f5b22a54 100644
--- a/piwik.php
+++ b/piwik.php
@@ -126,6 +126,7 @@ if (!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING) {
$process->main();
} catch (Exception $e) {
echo "Error:" . $e->getMessage();
+ exit(1);
}
ob_end_flush();
if ($GLOBALS['PIWIK_TRACKER_DEBUG'] === true) {