diff options
| author | Stefan Boberg <[email protected]> | 2021-09-26 21:06:23 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-26 21:06:23 +0200 |
| commit | d18c48de7e4be85d761246d445d32585060ffe3c (patch) | |
| tree | 49a0ac31a0c23ef2c08999a6eff0c68c3f52adda /zenhttp/httpsys.cpp | |
| parent | Various BasicFile improvements (diff) | |
| download | zen-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.cpp | 5 |
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); } |