diff --git a/piwik.php b/piwik.php index f3327f666f0ced2edcdf255224e178706111cf08..18f5b22a542e770cd002f50efefe4fa2e3e67f1e 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) {