daemon: Simplify “empty status” substitute error message.
* nix/libstore/build.cc (SubstitutionGoal::finished): Don’t show what the empty status looks like. Change-Id: Ie898432aeb047aff3d59024de6ed6d18f68903c4
parent
33f9d3cc36
commit
d83d4488da
|
@ -3074,8 +3074,8 @@ void SubstitutionGoal::finished()
|
|||
auto statusList = tokenizeString<vector<string> >(status);
|
||||
|
||||
if (statusList.empty()) {
|
||||
throw SubstError(format("fetching path `%1%' (empty status: '%2%')")
|
||||
% storePath % status);
|
||||
throw SubstError(format("fetching path `%1%' (empty status)")
|
||||
% storePath);
|
||||
} else if (statusList[0] == "hash-mismatch") {
|
||||
if (settings.printBuildTrace) {
|
||||
auto hashType = statusList[1];
|
||||
|
|
Reference in New Issue