forked from lix-project/nix-eval-jobs
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:
parent
36a5368dfc
commit
e7c30b306d
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue