diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 95cf673..87eb456 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -190,10 +190,6 @@ std::function collector(Sync &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);