servlet errors should be code 500
This commit is contained in:
parent
f2e0e0bfeb
commit
56b2e0754f
|
@ -28,6 +28,7 @@
|
|||
|
||||
(define (pretty-exception-response url exn)
|
||||
(response/xexpr
|
||||
#:code 500
|
||||
`(html
|
||||
(head
|
||||
(title "Servlet Error")
|
||||
|
|
|
@ -158,6 +158,7 @@
|
|||
(lambda (exn)
|
||||
(send/finish-or-back
|
||||
(response/xexpr
|
||||
#:code 500
|
||||
`(html (head (title "Servlet Error"))
|
||||
(body ([bgcolor "white"])
|
||||
(p "The following error occured: "
|
||||
|
|
Loading…
Reference in New Issue
Block a user