Add minor improvement on error reporting on shape validation

This commit is contained in:
Andrey Antukh 2024-10-28 14:16:34 +01:00
parent deaf6ef068
commit 4cf5dc0791
3 changed files with 6 additions and 2 deletions

View file

@ -63,7 +63,7 @@
(ex/format-throwable cause :data? false :explain? false :header? false :summary? false))}
(when-let [params (or (:request/params context) (:params context))]
{:params (pp/pprint-str params :length 30 :level 12)})
{:params (pp/pprint-str params :length 30 :level 13)})
(when-let [value (:value context)]
{:value (pp/pprint-str value :length 30 :level 12)})