Minor improvements on http reporting on 400 responses

This commit is contained in:
Andrey Antukh 2022-02-01 13:53:10 +01:00
parent 5576b7568c
commit 57666e9173
3 changed files with 17 additions and 4 deletions

View file

@ -257,7 +257,7 @@
(let [data (s/explain-data spec data)]
(throw (ex/error :type :validation
:code :spec-validation
::s/problems (::s/problems data)))))
::ex/data data))))
result))
(defmacro instrument!