aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/revision/controller.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-10-18 17:23:59 +0100
committerChristopher Baines <mail@cbaines.net>2019-10-18 17:23:59 +0100
commit263eb0e0a9ab8cd877b8b1723a884b3c306fd012 (patch)
tree8809ae173a10210803bd3105d50dbee7f14ed90c /guix-data-service/web/revision/controller.scm
parentc9e0e311bbee6dd85f017dbf5704492df72c2e9a (diff)
downloaddata-service-263eb0e0a9ab8cd877b8b1723a884b3c306fd012.tar
data-service-263eb0e0a9ab8cd877b8b1723a884b3c306fd012.tar.gz
Handle unknown requests better within controllers
Diffstat (limited to 'guix-data-service/web/revision/controller.scm')
-rw-r--r--guix-data-service/web/revision/controller.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/web/revision/controller.scm b/guix-data-service/web/revision/controller.scm
index fdd2dc3..56575b3 100644
--- a/guix-data-service/web/revision/controller.scm
+++ b/guix-data-service/web/revision/controller.scm
@@ -136,7 +136,8 @@
#:path-base path))
(render-unknown-revision mime-types
conn
- commit-hash)))))
+ commit-hash)))
+ (_ #f)))
(define (texinfo->variants-alist s)
(let ((stexi (texi-fragment->stexi s)))