diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-08-13 14:27:21 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-08-13 14:27:21 +0400 |
commit | 01a76d252e2ced05c85be4cfc672e8df417c7104 (patch) | |
tree | 0c0cd3ac7973616bfb9582d45a1f60daa9ea4530 /core/Tracker/Visit.php | |
parent | 1472a5cca21e1f8eda449ced6852d38549fe3b9c (diff) |
fixes #5958 When there is an error screen in Piwik (core or in Tracker) then log to error log
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r-- | core/Tracker/Visit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 77b52299b3..69e791992f 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -124,7 +124,8 @@ class Visit implements VisitInterface $visitIsConverted = $someGoalsConverted; // if we find a idgoal in the URL, but then the goal is not valid, this is most likely a fake request if (!$someGoalsConverted) { - throw new \Exception('Invalid goal tracking request for goal id = ' . $this->goalManager->idGoal); + Common::printDebug('Invalid goal tracking request for goal id = ' . $this->goalManager->idGoal); + return; } } // normal page view, potentially triggering a URL matching goal else { |