diff options
Diffstat (limited to 'src/zenhttp/httpsys.cpp')
| -rw-r--r-- | src/zenhttp/httpsys.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zenhttp/httpsys.cpp b/src/zenhttp/httpsys.cpp index 4d9a3e5b8..8c1f68ee8 100644 --- a/src/zenhttp/httpsys.cpp +++ b/src/zenhttp/httpsys.cpp @@ -621,12 +621,13 @@ HttpMessageResponseRequest::IssueRequest(std::error_code& ErrorCode) if (PathEc) { - ResponseDetails << "bad_file(" << PathEc.message() << ")"; + ResponseDetails << "bad_file(handle=" << reinterpret_cast<uint64_t>(FileHandle) << ",error=" << PathEc.message() + << ")"; } else { const uint64_t FileSize = FileSizeFromHandle(FileHandle); - ResponseDetails << Path.u8string() << "(" << FileSize << ")"; + ResponseDetails << Path.u8string() << "(" << FileSize << ") handle=" << reinterpret_cast<uint64_t>(FileHandle); } } break; |