aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2025-02-19 14:28:58 +0000
committerChristopher Baines <mail@cbaines.net>2025-02-19 14:28:58 +0000
commit8aa72265c7a602b78aa91442aa2fd5cd309b9ffd (patch)
tree4bb62ecb7dbfe075b9d031350850b1454d308a66
parentbe7612ed28b48506d41844f82b6dccc2992bacc6 (diff)
downloadqa-frontpage-8aa72265c7a602b78aa91442aa2fd5cd309b9ffd.tar
qa-frontpage-8aa72265c7a602b78aa91442aa2fd5cd309b9ffd.tar.gz
Fix the knots web server exception handler
And remove the duplicate import.
-rw-r--r--guix-qa-frontpage/server.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 4beaf09..219b9de 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -36,7 +36,6 @@
#:use-module (knots web-server)
#:use-module (knots parallelism)
#:use-module (guix store)
- #:use-module (knots web-server)
#:use-module ((guix build syscalls)
#:select (set-thread-name))
#:use-module ((guix-data-service utils)
@@ -930,7 +929,8 @@ Disallow: /issue
(read-request-body request)
controller)))
#:exception-handler
- (lambda (exn)
+ (lambda (exn request)
+ (default-exception-handler exn request)
(apply values
(render-html #:sxml (error-page exn)
#:code 500)))