diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/mod-package-details.cxx | 3 | ||||
-rw-r--r-- | mod/mod-package-version-details.cxx | 2 | ||||
-rw-r--r-- | mod/mod-submit.cxx | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/mod/mod-package-details.cxx b/mod/mod-package-details.cxx index a36d4c0..68e6530 100644 --- a/mod/mod-package-details.cxx +++ b/mod/mod-package-details.cxx @@ -111,7 +111,8 @@ handle (request& rq, response& rs) latest_package lp; if (!package_db_->query_one<latest_package> ( "(" + query::_val (tenant) + "," + query::_val (n) + ")", lp)) - throw invalid_request (404, "Package '" + n.string () + "' not found"); + throw invalid_request (404, + "Package " + n.string () + " not (yet) found"); pkg = package_db_->load<package> (lp.id); } diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index ee7457a..bd06d76 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -145,7 +145,7 @@ handle (request& rq, response& rs) if (not_found) throw invalid_request ( - 404, "Package '" + pn.string () + ' ' + sver + "' not found"); + 404, "Package " + pn.string () + '/' + sver + " not (yet) found"); const string& name (pkg->name.string ()); diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx index 1b93756..9fa5d82 100644 --- a/mod/mod-submit.cxx +++ b/mod/mod-submit.cxx @@ -601,7 +601,7 @@ handle (request& rq, response& rs) add ("", "1"); // Start of manifest. add ("status", "200"); - add ("message", "submission is queued"); + add ("message", "package submission is queued"); add ("reference", ref); add ("", ""); // End of manifest. } |