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:
authorThomas Steur <thomas.steur@googlemail.com>2014-11-14 03:27:42 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-11-14 03:27:42 +0300
commit332af2a3085cf3b35815d1f4b55f9059a627819a (patch)
tree7c408b2c359b15f8805e7b92a8ec97e26ee68be7 /core/Tracker/Request.php
parente66c3d52a9e9564374d65732d19a2cec5d65bf2e (diff)
refs #6661 forgot to commit a file and if not suppported param is used is actually a server error not request error
Diffstat (limited to 'core/Tracker/Request.php')
-rw-r--r--core/Tracker/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php
index efc3f331d9..bc70513216 100644
--- a/core/Tracker/Request.php
+++ b/core/Tracker/Request.php
@@ -306,7 +306,7 @@ class Request
);
if (!isset($supportedParams[$name])) {
- throw new InvalidRequestParameterException("Requested parameter $name is not a known Tracking API Parameter.");
+ throw new Exception("Requested parameter $name is not a known Tracking API Parameter.");
}
$paramDefaultValue = $supportedParams[$name][0];