aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-data-service/jobs/load-new-guix-revision.scm17
1 files changed, 12 insertions, 5 deletions
diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm
index 46f80ab..464a5d7 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -1159,11 +1159,18 @@
(with-resource-from-pool inferior-and-store-pool res
(match res
((inferior . inferior-store)
- (cons system
- (inferior-eval-with-store/non-blocking
- inferior
- inferior-store
- (inferior-code channel-instance system)))))))
+ (with-throw-handler #t
+ (lambda ()
+ (cons system
+ (inferior-eval-with-store/non-blocking
+ inferior
+ inferior-store
+ (inferior-code channel-instance system))))
+ (lambda _
+ (simple-format
+ (current-error-port)
+ "failed to compute channel instance derivation for ~A\n"
+ system)))))))
systems)))
(cons