aboutsummaryrefslogtreecommitdiff
path: root/zenserver/compute/apply.cpp
diff options
context:
space:
mode:
authorJoe Kirchoff <[email protected]>2021-11-17 14:51:46 -0800
committerJoe Kirchoff <[email protected]>2021-11-17 14:51:46 -0800
commita18ba147f04207810c9d2c034e219a4337b2310c (patch)
tree77b6ecc704aa71b17137247847c6a94fba62d98e /zenserver/compute/apply.cpp
parentSet horde worker requirements, limit to Win-RemoteExec pool (diff)
downloadzen-a18ba147f04207810c9d2c034e219a4337b2310c.tar.xz
zen-a18ba147f04207810c9d2c034e219a4337b2310c.zip
Change error code for failed upsteam apply
Diffstat (limited to 'zenserver/compute/apply.cpp')
-rw-r--r--zenserver/compute/apply.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp
index d2ae2febc..8ad14a1ed 100644
--- a/zenserver/compute/apply.cpp
+++ b/zenserver/compute/apply.cpp
@@ -932,7 +932,7 @@ HttpFunctionService::ExecActionUpstreamResult(const IoHash& WorkerId, const IoHa
Completed.Error.Reason);
// throw std::runtime_error(
// "Action {}/{} failed: {}"_format(WorkerId.ToHexString(), ActionId.ToHexString(), Completed.Error.Reason).c_str());
- return HttpResponseCode::NotFound;
+ return HttpResponseCode::BadRequest;
}
ZEN_INFO("Action {}/{} completed with {} attachments ({} compressed, {} uncompressed)",