Change exception type

This commit is contained in:
Jonas Zeunert
2021-03-07 17:15:50 +01:00
parent fc3aa64aac
commit 0bd2d46191

View File

@@ -84,7 +84,7 @@ void OutputRequestHandler::handleRequest(HTTPServerRequest &request,
json_response->stringify(ostr);
}
}
catch(const NotFoundException &e)
catch(const Poco::NotFoundException &e)
{
response.setStatusAndReason(HTTPServerResponse::HTTP_NOT_FOUND, e.displayText());
}