[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: Improve logging when computing a channel instance derivation fail
From: |
Christopher Baines |
Subject: |
03/14: Improve logging when computing a channel instance derivation fails |
Date: |
Fri, 2 Feb 2024 10:58:38 -0500 (EST) |
cbaines pushed a commit to branch master
in repository data-service.
commit 75f27264a609cede6c7616c18037cf6544c3666f
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Jan 27 18:41:02 2024 +0000
Improve logging when computing a channel instance derivation fails
---
guix-data-service/jobs/load-new-guix-revision.scm | 17 ++++++++++++-----
1 file 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
- 05/14: Make sure to keep roots for channel instance derivations, (continued)
- 05/14: Make sure to keep roots for channel instance derivations, Christopher Baines, 2024/02/02
- 07/14: Add more logging in when computing channel instance derivations, Christopher Baines, 2024/02/02
- 09/14: Split up handling of package description data, Christopher Baines, 2024/02/02
- 10/14: Fix exception handling in call-with-temporary-thread, Christopher Baines, 2024/02/02
- 12/14: Speed up loading package metadata, Christopher Baines, 2024/02/02
- 14/14: Cleanup some with-time-logging, Christopher Baines, 2024/02/02
- 06/14: Add some time logging in to inferior-packages-plus-replacements, Christopher Baines, 2024/02/02
- 11/14: Ignore inferior-protocol-error when computing channel instances, Christopher Baines, 2024/02/02
- 13/14: Compute lint warnings in parallel, Christopher Baines, 2024/02/02
- 08/14: Speed up fetching package replacements, Christopher Baines, 2024/02/02
- 03/14: Improve logging when computing a channel instance derivation fails,
Christopher Baines <=