We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60e795 commit c3b6e7bCopy full SHA for c3b6e7b
src/hydra-queue-runner/builder.cc
@@ -37,11 +37,12 @@ void State::builder(MachineReservation::ptr reservation)
37
38
try {
39
auto destStore = getDestStore();
40
+ // Might release the reservation.
41
res = doBuildStep(destStore, reservation, activeStep);
42
} catch (std::exception & e) {
43
printMsg(lvlError, "uncaught exception building ‘%s’ on ‘%s’: %s",
- localStore->printStorePath(reservation->step->drvPath),
44
- reservation->machine->sshName,
+ localStore->printStorePath(activeStep->step->drvPath),
45
+ reservation ? reservation->machine->sshName : std::string("(no machine)"),
46
e.what());
47
}
48
0 commit comments