aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpparser.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-01-13 12:51:12 +0100
committerGitHub Enterprise <[email protected]>2025-01-13 12:51:12 +0100
commitd7dbc855ab2bd2ccf86f809b463bda3ba38d64ce (patch)
treeefbdb4b180026c5d438d599df6f359e5a63f563f /src/zenhttp/servers/httpparser.cpp
parent5.5.17-pre1 (diff)
downloadzen-d7dbc855ab2bd2ccf86f809b463bda3ba38d64ce.tar.xz
zen-d7dbc855ab2bd2ccf86f809b463bda3ba38d64ce.zip
Suppress progress report callback if oplog import detects zero op oplog (#271)
* Suppress progress report callback if oplog import detects oplog with zero ops * output error code when catching system errors
Diffstat (limited to 'src/zenhttp/servers/httpparser.cpp')
-rw-r--r--src/zenhttp/servers/httpparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpparser.cpp b/src/zenhttp/servers/httpparser.cpp
index 6829faa4a..9bb354a5e 100644
--- a/src/zenhttp/servers/httpparser.cpp
+++ b/src/zenhttp/servers/httpparser.cpp
@@ -389,7 +389,7 @@ HttpRequestParser::OnMessageComplete()
}
else
{
- ZEN_ERROR("failed processing http request: '{}'", SystemError.what());
+ ZEN_ERROR("failed processing http request: '{}' ({})", SystemError.what(), SystemError.code().value());
}
ResetState();
return 1;