diff options
| author | Dan Engelbrecht <[email protected]> | 2026-03-15 14:44:28 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2026-03-15 14:44:28 +0100 |
| commit | 66385ddcc63db5279b7cc2055afde439f4a55a88 (patch) | |
| tree | 4bac19b083f31569dfcbd1d2f819f5d13bc32044 /src | |
| parent | make SaveOplog report errors through exceptions (diff) | |
| download | zen-66385ddcc63db5279b7cc2055afde439f4a55a88.tar.xz zen-66385ddcc63db5279b7cc2055afde439f4a55a88.zip | |
Code -> Status
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenserver/storage/projectstore/httpprojectstore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenserver/storage/projectstore/httpprojectstore.cpp b/src/zenserver/storage/projectstore/httpprojectstore.cpp index d988a6050..cf4d7d274 100644 --- a/src/zenserver/storage/projectstore/httpprojectstore.cpp +++ b/src/zenserver/storage/projectstore/httpprojectstore.cpp @@ -2909,7 +2909,7 @@ HttpProjectService::HandleRpcRequest(HttpRouterRequest& Req) } else { - throw JobError(fmt::format("Failed due to an http exception (Code: {}): {}", + throw JobError(fmt::format("Failed due to an http exception (Status: {}): {}", static_cast<int>(HttpEx.GetHttpResponseCode()), HttpEx.what()), static_cast<int>(HttpEx.GetHttpResponseCode())); @@ -3029,7 +3029,7 @@ HttpProjectService::HandleRpcRequest(HttpRouterRequest& Req) } else { - throw JobError(fmt::format("Failed due to an http exception (Code: {}): {}", + throw JobError(fmt::format("Failed due to an http exception (Status: {}): {}", static_cast<int>(HttpEx.GetHttpResponseCode()), HttpEx.what()), static_cast<int>(HttpEx.GetHttpResponseCode())); |