aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-09-08 12:31:11 +0200
committerGitHub <[email protected]>2022-09-08 03:31:11 -0700
commit15e034da3f567c9053b0464e8a002d08e6d18b78 (patch)
tree7782fd2f4e3e86c325d405c5969c7b5f1a78d059 /zenhttp/httpsys.cpp
parentRemove legacy code (#161) (diff)
downloadzen-15e034da3f567c9053b0464e8a002d08e6d18b78.tar.xz
zen-15e034da3f567c9053b0464e8a002d08e6d18b78.zip
Adjust errors vs warnings messages (#160)
* demote a number of ZEN_ERROR to ZEN_WARN * changelog
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index 19dba126a..926e6b09f 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -598,10 +598,10 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode)
CancelThreadpoolIo(Iocp);
- ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}', request id: {}",
- GetSystemErrorAsString(SendResult),
- HttpReq->pRawUrl,
- HttpReq->RequestId);
+ ZEN_WARN("failed to send HTTP response (error: '{}'), request URL: '{}', request id: {}",
+ GetSystemErrorAsString(SendResult),
+ HttpReq->pRawUrl,
+ HttpReq->RequestId);
ErrorCode = MakeErrorCode(SendResult);
}
@@ -1134,7 +1134,7 @@ HttpSysTransaction::IssueNextRequest(HttpSysRequestHandler* NewCompletionHandler
return true;
}
- ZEN_ERROR("IssueRequest() failed: '{}'", ErrorCode.message());
+ ZEN_WARN("IssueRequest() failed: '{}'", ErrorCode.message());
}
catch (std::exception& Ex)
{
@@ -1463,7 +1463,7 @@ InitialRequestHandler::IssueRequest(std::error_code& ErrorCode)
ErrorCode = MakeErrorCode(HttpApiResult);
- ZEN_ERROR("HttpReceiveHttpRequest failed, error: '{}'", ErrorCode.message());
+ ZEN_WARN("HttpReceiveHttpRequest failed, error: '{}'", ErrorCode.message());
return;
}