fixed one cerror
This commit is contained in:
@@ -50,8 +50,7 @@ void OutputRequestHandler::handleRequest(HTTPServerRequest &request,
|
|||||||
}
|
}
|
||||||
catch(const Poco::InvalidArgumentException &e)
|
catch(const Poco::InvalidArgumentException &e)
|
||||||
{
|
{
|
||||||
// TODO not compiling
|
response.setStatusAndReason(HTTPServerResponse::HTTP_BAD_REQUEST, e.displayText());
|
||||||
// response.setStatusAndReason(HTTPServerResponse::HTTP_REASON_BAD_REQUEST, e.displayText());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user