From 15e034da3f567c9053b0464e8a002d08e6d18b78 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 8 Sep 2022 12:31:11 +0200 Subject: Adjust errors vs warnings messages (#160) * demote a number of ZEN_ERROR to ZEN_WARN * changelog --- zenhttp/httpsys.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'zenhttp/httpsys.cpp') 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; } -- cgit v1.2.3