Fix the arguments to most-appropriate-mime-type
This commit is contained in:
parent
eeb026b654
commit
d7103eccc9
1 changed files with 2 additions and 2 deletions
|
|
@ -719,8 +719,8 @@
|
|||
#:on-error 'backtrace
|
||||
#:post-error (lambda args
|
||||
(case (most-appropriate-mime-type
|
||||
'(application/json text/html)
|
||||
mime-types)
|
||||
mime-types
|
||||
'(text/html application/json))
|
||||
((application/json)
|
||||
(render-json `((error . ,(if (%show-error-details)
|
||||
(simple-format #f "~A" args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue