Fix minor issues on error reporting.

This commit is contained in:
Andrey Antukh 2022-01-17 13:08:29 +01:00
parent b6f460940f
commit bda97adf4f
4 changed files with 5 additions and 3 deletions

View file

@ -150,7 +150,7 @@
(binding [ppr/*print-right-margin* 300]
(let [context (dissoc report
:trace :cause :params :data :spec-problems
:spec-value :error :explain :hint :message)
:spec-value :error :explain :hint)
params {:context (with-out-str (ppr/pprint context))
:hint (:hint report)
:spec-problems (:spec-problems report)