mirror of https://github.com/Icinga/icinga2.git
parent
e0dab9ff1f
commit
fa034a96f8
|
@ -104,7 +104,7 @@ void HttpHandler::ProcessRequest(const ApiUser::Ptr& user, HttpRequest& request,
|
||||||
if (!processed) {
|
if (!processed) {
|
||||||
String path = boost::algorithm::join(request.RequestUrl->GetPath(), "/");
|
String path = boost::algorithm::join(request.RequestUrl->GetPath(), "/");
|
||||||
HttpUtility::SendJsonError(response, 404, "The requested path '" + path +
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue