diff options
| author | Dan Engelbrecht <[email protected]> | 2025-01-13 12:51:12 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-01-13 12:51:12 +0100 |
| commit | d7dbc855ab2bd2ccf86f809b463bda3ba38d64ce (patch) | |
| tree | efbdb4b180026c5d438d599df6f359e5a63f563f /src/zenhttp/servers/httpplugin.cpp | |
| parent | 5.5.17-pre1 (diff) | |
| download | zen-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/httpplugin.cpp')
| -rw-r--r-- | src/zenhttp/servers/httpplugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zenhttp/servers/httpplugin.cpp b/src/zenhttp/servers/httpplugin.cpp index b55d80af8..ec12b3755 100644 --- a/src/zenhttp/servers/httpplugin.cpp +++ b/src/zenhttp/servers/httpplugin.cpp @@ -407,7 +407,9 @@ HttpPluginConnectionHandler::HandleRequest() } else { - 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()); Request.WriteResponse(HttpResponseCode::InternalServerError, HttpContentType::kText, SystemError.what()); } } |