aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-26 21:06:23 +0200
committerStefan Boberg <[email protected]>2021-09-26 21:06:23 +0200
commitd18c48de7e4be85d761246d445d32585060ffe3c (patch)
tree49a0ac31a0c23ef2c08999a6eff0c68c3f52adda /zenhttp/httpsys.cpp
parentVarious BasicFile improvements (diff)
downloadzen-d18c48de7e4be85d761246d445d32585060ffe3c.tar.xz
zen-d18c48de7e4be85d761246d445d32585060ffe3c.zip
Added some more context to http failure logging
Diffstat (limited to 'zenhttp/httpsys.cpp')
-rw-r--r--zenhttp/httpsys.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/zenhttp/httpsys.cpp b/zenhttp/httpsys.cpp
index 28a9f7abf..9c747d17e 100644
--- a/zenhttp/httpsys.cpp
+++ b/zenhttp/httpsys.cpp
@@ -553,7 +553,10 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode)
CancelThreadpoolIo(Iocp);
- ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}'", GetWindowsErrorAsString(SendResult), HttpReq->pRawUrl);
+ ZEN_ERROR("failed to send HTTP response (error: '{}'), request URL: '{}', request id: {}",
+ GetWindowsErrorAsString(SendResult),
+ HttpReq->pRawUrl,
+ HttpReq->RequestId);
ErrorCode = MakeWin32ErrorCode(SendResult);
}