aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-07-05 11:22:24 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-05 11:22:24 +0100
commitf3e888bf34c8fdc5ef7cee67054c159264dee4a7 (patch)
tree4b3753450147883bccb54f4d06a578cf42203c46 /guix-qa-frontpage
parentd724eff582eba579f1cc4a7761402a0c091db1d8 (diff)
downloadqa-frontpage-f3e888bf34c8fdc5ef7cee67054c159264dee4a7.tar
qa-frontpage-f3e888bf34c8fdc5ef7cee67054c159264dee4a7.tar.gz
Stop catching exceptions in guix-data-service-request
As this doesn't help debugging.
Diffstat (limited to 'guix-qa-frontpage')
-rw-r--r--guix-qa-frontpage/guix-data-service.scm21
1 files changed, 8 insertions, 13 deletions
diff --git a/guix-qa-frontpage/guix-data-service.scm b/guix-qa-frontpage/guix-data-service.scm
index 8e68cc7..c35881c 100644
--- a/guix-qa-frontpage/guix-data-service.scm
+++ b/guix-qa-frontpage/guix-data-service.scm
@@ -90,21 +90,16 @@
404)
#f
(let ((json-body
- (with-exception-handler
- (lambda _ #f)
- (lambda ()
- (match (response-content-encoding response)
- (('gzip)
- (call-with-zlib-input-port
- body
- json->scm
- #:format 'gzip))
- (_
- (json->scm body))))
- #:unwind? #t)))
+ (match (response-content-encoding response)
+ (('gzip)
+ (call-with-zlib-input-port
+ body
+ json->scm
+ #:format 'gzip))
+ (_
+ (json->scm body)))))
(if (or (> (response-code response)
400)
- (not json-body)
(assoc-ref json-body "error"))
(raise-exception
(make-guix-data-service-error json-body