Fix retry of transient failures
This commit is contained in:
parent
de71d5b622
commit
75e7b35477
@ -127,6 +127,7 @@ State::StepResult State::doBuildStep(nix::ref<Store> destStore, Step::ptr step,
|
|||||||
} catch (Error & e) {
|
} catch (Error & e) {
|
||||||
result.stepStatus = bsAborted;
|
result.stepStatus = bsAborted;
|
||||||
result.errorMsg = e.msg();
|
result.errorMsg = e.msg();
|
||||||
|
result.canRetry = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.stepStatus == bsSuccess)
|
if (result.stepStatus == bsSuccess)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user