Change exception type
This commit is contained in:
@@ -84,7 +84,7 @@ void OutputRequestHandler::handleRequest(HTTPServerRequest &request,
|
|||||||
json_response->stringify(ostr);
|
json_response->stringify(ostr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(const NotFoundException &e)
|
catch(const Poco::NotFoundException &e)
|
||||||
{
|
{
|
||||||
response.setStatusAndReason(HTTPServerResponse::HTTP_NOT_FOUND, e.displayText());
|
response.setStatusAndReason(HTTPServerResponse::HTTP_NOT_FOUND, e.displayText());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user