Improve error message for 404s

refs #9447
This commit is contained in:
Gunnar Beutner 2015-11-09 10:40:31 +01:00
parent e0dab9ff1f
commit fa034a96f8
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void HttpHandler::ProcessRequest(const ApiUser::Ptr& user, HttpRequest& request,
if (!processed) {
String path = boost::algorithm::join(request.RequestUrl->GetPath(), "/");
HttpUtility::SendJsonError(response, 404, "The requested path '" + path +
"' could not be found.");
"' could not be found or the request method is not valid for this path.");
return;
}
}