mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 20:56:11 +02:00
✨ Minor improvements on error reporting
This commit is contained in:
parent
73117f6f27
commit
6bd2dcff2a
4 changed files with 23 additions and 14 deletions
|
@ -162,7 +162,8 @@
|
|||
(let [context (dissoc report
|
||||
:trace :cause :params :data :spec-problems
|
||||
:spec-explain :spec-value :error :explain :hint)
|
||||
params {:context (with-out-str (fpp/pprint context {:width 300}))
|
||||
params {:context (with-out-str
|
||||
(fpp/pprint context {:width 200}))
|
||||
:hint (:hint report)
|
||||
:spec-explain (:spec-explain report)
|
||||
:spec-problems (:spec-problems report)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue