diff options
| author | Dan Engelbrecht <[email protected]> | 2025-01-17 09:37:15 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2025-01-17 09:37:15 +0100 |
| commit | 60b8fd33b6708c0640a5df9e8bfc0d9ac1a2a1d7 (patch) | |
| tree | 86f1ba78b539d5906471c1eb014c260099354e57 /src/zenhttp/servers/httpsys.cpp | |
| parent | clang format (diff) | |
| parent | add missing statsd.enabled and gc.projectstore.duration.seconds (#275) (diff) | |
| download | zen-60b8fd33b6708c0640a5df9e8bfc0d9ac1a2a1d7.tar.xz zen-60b8fd33b6708c0640a5df9e8bfc0d9ac1a2a1d7.zip | |
Merge remote-tracking branch 'origin/main' into de/zen-service-command
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpsys.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/servers/httpsys.cpp b/src/zenhttp/servers/httpsys.cpp index 54308a00b..87128c0c9 100644 --- a/src/zenhttp/servers/httpsys.cpp +++ b/src/zenhttp/servers/httpsys.cpp @@ -14,7 +14,7 @@ #include <zencore/string.h> #include <zencore/timer.h> #include <zencore/trace.h> -#include <zenutil/packageformat.h> +#include <zenhttp/packageformat.h> #if ZEN_WITH_HTTPSYS # define _WINSOCKAPI_ @@ -2047,7 +2047,7 @@ InitialRequestHandler::HandleCompletion(ULONG IoResult, ULONG_PTR NumberOfBytesT return new HttpMessageResponseRequest(Transaction(), (uint16_t)HttpResponseCode::InsufficientStorage, SystemError.what()); } - ZEN_ERROR("Caught system error exception while handling request: {}", SystemError.what()); + ZEN_ERROR("Caught system error exception while handling request: {}. ({})", SystemError.what(), SystemError.code().value()); return new HttpMessageResponseRequest(Transaction(), (uint16_t)HttpResponseCode::InternalServerError, SystemError.what()); } catch (const std::bad_alloc& BadAlloc) |