summaryrefslogtreecommitdiffstats
path: root/lib/kolab_api_controller.php
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-14 12:12:34 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-14 12:12:34 +0100
commitf323bc43f46c8b108121e81d5227c5c09acbead8 (patch)
tree9f341bea23eafa0b4704a1d52019011e09c2c2b6 /lib/kolab_api_controller.php
parent2a86cdf9bf9a55bc4c2b92e2f19ba6ca62d74a58 (diff)
downloadwebadmin-f323bc43f46c8b108121e81d5227c5c09acbead8.tar.gz
Merge
Diffstat (limited to 'lib/kolab_api_controller.php')
-rw-r--r--lib/kolab_api_controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index 23556c8..3530083 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -48,11 +48,11 @@ class kolab_api_controller
);
}
else {
- throw new Exception("Unknown method", 400);
+ throw new Exception("Unknown method " . $_GET['method'], 400);
}
}
else {
- throw new Exception("Unknown service", 400);
+ throw new Exception("Unknown service " . $_GET['service'], 400);
}
// TODO: register services based on config or whatsoever