diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-16 12:51:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-16 12:51:24 +0300 |
commit | bed7ade3fa57ef3a7d4e8bd99c35aecb1f414bed (patch) | |
tree | ba2158ffeea2e23d7150566bc9773bdbb060ab93 /mod/mod-repository-details.cxx | |
parent | f0c834ed57ef3afbbed2a4baacbab19fe6e7a6fd (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.cxx | 2 |
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 ()); } |