aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-repository-details.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-16 12:51:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-16 12:51:24 +0300
commitbed7ade3fa57ef3a7d4e8bd99c35aecb1f414bed (patch)
treeba2158ffeea2e23d7150566bc9773bdbb060ab93 /mod/mod-repository-details.cxx
parentf0c834ed57ef3afbbed2a4baacbab19fe6e7a6fd (diff)
Fix brep module to properly handle request parameters parsing exceptions
Diffstat (limited to 'mod/mod-repository-details.cxx')
-rw-r--r--mod/mod-repository-details.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-repository-details.cxx b/mod/mod-repository-details.cxx
index 8f434ef..410c143 100644
--- a/mod/mod-repository-details.cxx
+++ b/mod/mod-repository-details.cxx
@@ -74,7 +74,7 @@ handle (request& rq, response& rs)
name_value_scanner s (rq.parameters ());
params::repository_details (s, unknown_mode::fail, unknown_mode::fail);
}
- catch (const unknown_argument& e)
+ catch (const cli::exception& e)
{
throw invalid_request (400, e.what ());
}