From d7dbc855ab2bd2ccf86f809b463bda3ba38d64ce Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 13 Jan 2025 12:51:12 +0100 Subject: 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 --- src/zenhttp/servers/httpparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/servers/httpparser.cpp') 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; -- cgit v1.2.3