aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-03-11 12:50:46 +0000
committerChristopher Baines <mail@cbaines.net>2023-03-11 12:50:46 +0000
commit9cd3fc379095992451dd44cfa5f53bbe5957d8a3 (patch)
treee1db7521b01d2cd3414b9e690db8139968950c24
parent421bcf5b25e2146306b18f039c5604880dd93543 (diff)
downloadqa-frontpage-9cd3fc379095992451dd44cfa5f53bbe5957d8a3.tar
qa-frontpage-9cd3fc379095992451dd44cfa5f53bbe5957d8a3.tar.gz
Avoid returning exceptions in the issue-data
As these can't be read back from the cache.
-rw-r--r--guix-qa-frontpage/server.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 20f4aeb..73666e9 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -447,7 +447,9 @@ port. Also, the port used can be changed by passing the --port option.\n"
(with-exception-handler
(lambda (exn)
(if (guix-data-service-error? exn)
- exn
+ ;; TODO Return some description this error that can be
+ ;; cached
+ #f
(raise-exception exn)))
(lambda ()
(patch-series-comparison