Add some more instrumentation
This commit is contained in:
parent
1359c2c19a
commit
198fa786a1
|
@ -938,7 +938,10 @@ void LocalDerivationGoal::startBuilder()
|
||||||
try {
|
try {
|
||||||
return readLine(builderOut.readSide.get());
|
return readLine(builderOut.readSide.get());
|
||||||
} catch (Error & e) {
|
} catch (Error & e) {
|
||||||
e.addTrace({}, "while waiting for the build environment to initialize (previous messages: %s)",
|
auto status = pid.wait();
|
||||||
|
e.addTrace({}, "while waiting for the build environment for '%s' to initialize (%s, previous messages: %s)",
|
||||||
|
worker.store.printStorePath(drvPath),
|
||||||
|
statusToString(status),
|
||||||
concatStringsSep("|", msgs));
|
concatStringsSep("|", msgs));
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue