vcpkg/ports/drogon/0006-log.patch

14 lines
627 B
Diff

diff --git a/lib/src/HttpServer.cc b/lib/src/HttpServer.cc
index dbd99a90..3d8ca852 100644
--- a/lib/src/HttpServer.cc
+++ b/lib/src/HttpServer.cc
@@ -508,7 +508,7 @@ void HttpServer::requestPostRouting(const HttpRequestImplPtr &req, Pack &&pack)
else
{
req->quitStreamMode();
- LOG_DEBUG << "Stop processing request due to stream error";
+ LOG_ERROR << "Stop processing request due to stream error";
pack.callback(
app().getCustomErrorHandler()(k400BadRequest, req));
}