[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Mathieu Othacehe |
Date: |
Mon, 6 Dec 2021 05:59:15 -0500 (EST) |
branch: master
commit c832d1523d094b21e7c640115cd6158346bbc54d
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Dec 6 11:56:28 2021 +0100
ensure-path: Catch nar-error exceptions.
* src/cuirass/scripts/remote-server.scm (ensure-path*): Catch &nar-error.
---
src/cuirass/scripts/remote-server.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/cuirass/scripts/remote-server.scm
b/src/cuirass/scripts/remote-server.scm
index 4fd11ee..b0bec99 100644
--- a/src/cuirass/scripts/remote-server.scm
+++ b/src/cuirass/scripts/remote-server.scm
@@ -315,7 +315,12 @@ be used to reply to the worker."
(define (ensure-path* store output)
(guard (c ((store-protocol-error? c)
- (log-message "Failed to add ~a to store." output)
+ (log-message "Failed to add ~a to store: store protocol error."
output)
+ (log-message "The remote-worker signing key might be authorized.")
+ #f)
+ ((nar-error? c)
+ (log-message "Failed to add ~a to store: nar error." output)
+ (log-message "The guix-daemon process may have returned
unexpectedly.")
#f))
(ensure-path store output)))