From 52e716bd47b81f6ace98717d86b57fa1e22a2af6 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 17 Dec 2025 14:06:09 +0100 Subject: remove error warning in output (#695) * changed some logging string so they don't get caught in CI logging --- src/zenhttp/servers/httpsys.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/zenhttp/servers/httpsys.cpp') diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp index 87b66dcd1..c555a39b6 100644 --- a/src/zenhttp/servers/httpsys.cpp +++ b/src/zenhttp/servers/httpsys.cpp @@ -1082,7 +1082,7 @@ HttpSysServer::InitializeServer(int BasePort) if ((Result == ERROR_SHARING_VIOLATION)) { - ZEN_INFO("Desired port {} is in use (error: '{}'), retrying", EffectivePort, Result); + ZEN_INFO("Desired port {} is in use (HttpAddUrlToUrlGroup returned: {}), retrying", EffectivePort, Result); Sleep(500); Result = HttpAddUrlToUrlGroup(m_HttpUrlGroupId, WildcardUrlPath.c_str(), HTTP_URL_CONTEXT(0), 0); @@ -1104,7 +1104,7 @@ HttpSysServer::InitializeServer(int BasePort) { for (uint32_t Retries = 0; (Result == ERROR_SHARING_VIOLATION) && (Retries < 3); Retries++) { - ZEN_INFO("Desired port {} is in use (error: '{}'), retrying", EffectivePort, Result); + ZEN_INFO("Desired port {} is in use (HttpAddUrlToUrlGroup returned: {}), retrying", EffectivePort, Result); Sleep(500); Result = HttpAddUrlToUrlGroup(m_HttpUrlGroupId, WildcardUrlPath.c_str(), HTTP_URL_CONTEXT(0), 0); } @@ -1577,7 +1577,7 @@ HttpSysTransaction::IssueNextRequest(HttpSysRequestHandler* NewCompletionHandler return true; } - ZEN_WARN("IssueRequest() failed: {}", ErrorCode.message()); + ZEN_WARN("IssueRequest() failed: '{}'", ErrorCode.message()); } catch (const AssertException& AssertEx) { @@ -1979,11 +1979,11 @@ InitialRequestHandler::IssueRequest(std::error_code& ErrorCode) if (IsInitialRequest()) { - ZEN_WARN("initial HttpReceiveHttpRequest failed, error: {}", ErrorCode.message()); + ZEN_WARN("initial HttpReceiveHttpRequest failed: '{}'", ErrorCode.message()); } else { - ZEN_WARN("HttpReceiveHttpRequest (offset: {}, content-length: {}) failed, error: {}", + ZEN_WARN("HttpReceiveHttpRequest (offset: {}, content-length: {}) failed: '{}'", m_CurrentPayloadOffset, m_PayloadBuffer.GetSize(), ErrorCode.message()); -- cgit v1.2.3