don't fail nix-eval-jobs on eval errors

This error handling was copied by accident in 5c764d4a67 (diff-a79ded172fd76747492a417a39848b6c25c14238e65971e6a05fe81706d5048fR622)
This commit is contained in:
Jörg Thalheim 2023-12-10 16:50:13 +01:00 committed by mergify[bot]
parent 36a5368dfc
commit e7c30b306d

View file

@ -190,10 +190,6 @@ std::function<void()> collector(Sync<State> &state_,
json response;
try {
response = json::parse(respString);
if (response.find("error") != response.end()) {
throw Error("worker error: %s",
(std::string)response["error"]);
}
} catch (const json::exception &e) {
throw Error("Received invalid JSON from worker: %s '%s'",
e.what(), respString);