From b026210afc93fae5d794feb6e151da0e2aac8ded Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 2 Sep 2022 16:43:08 +0100 Subject: Don't record the build as failed if the exception is unknown As this can cause spurious failures. --- guix-build-coordinator/agent.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'guix-build-coordinator') diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index f52af5f..27b0633 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -806,8 +806,11 @@ but the guix-daemon claims it's unavailable" (else (log-msg lgr 'ERROR build-id ": unknown store protocol error: " (store-protocol-error-message exn) "(status: " - (store-protocol-error-status exn) ")"))) - (log-msg lgr 'ERROR build-id ": unknown exception " exn)) + (store-protocol-error-status exn) ")") + (raise-exception exn))) + (begin + (log-msg lgr 'ERROR build-id ": unknown exception " exn) + (raise-exception exn))) #f) (lambda () (build-things store (list (derivation-file-name derivation))) -- cgit v1.2.3