diff options
-rw-r--r-- | modules/tag/helpers/tags_rest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tags_rest.php b/modules/tag/helpers/tags_rest.php index 3ef897fd..7f0ed66a 100644 --- a/modules/tag/helpers/tags_rest.php +++ b/modules/tag/helpers/tags_rest.php @@ -33,7 +33,7 @@ class tags_rest_Core { access::required("edit", item::root()); if (empty($request->params->name)) { - throw new Rest_Exception("Bad Request", 400); + throw new Rest_Exception("Bad Request: missing name", 400); } $tag = ORM::factory("tag")->where("name", "=", $request->params->name)->find(); |