diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-18 09:28:50 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-18 09:28:50 +0400 |
commit | b712e60c86c1c3398a7756f9a97a3a05d3ff4d37 (patch) | |
tree | 11e26c57f7b32b4475bc73471c4d40903707c80c /piwik.php | |
parent | f84b45cafcc4d0d5803690272ab146a6cffdb928 (diff) |
Fail when there was an exception in tracker
Diffstat (limited to 'piwik.php')
-rw-r--r-- | piwik.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |