diff options
author | Christopher Baines <mail@cbaines.net> | 2025-02-19 14:28:58 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2025-02-19 14:28:58 +0000 |
commit | 8aa72265c7a602b78aa91442aa2fd5cd309b9ffd (patch) | |
tree | 4bb62ecb7dbfe075b9d031350850b1454d308a66 | |
parent | be7612ed28b48506d41844f82b6dccc2992bacc6 (diff) | |
download | qa-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.scm | 4 |
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))) |