mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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
This commit is contained in:
parent
33f9d3cc36
commit
d83d4488da
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue