mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 20:16:13 +02:00
📎 Minor changes on error report http handler.
This commit is contained in:
parent
71734df489
commit
fdb1c5e1f9
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@
|
||||||
|
|
||||||
(render-template [report]
|
(render-template [report]
|
||||||
(binding [ppr/*print-right-margin* 300]
|
(binding [ppr/*print-right-margin* 300]
|
||||||
(let [context (dissoc report :trace :cause :params :data :spec-prob :spec-problems)
|
(let [context (dissoc report :trace :cause :params :data :spec-prob :spec-problems :error :explain)
|
||||||
params {:context (with-out-str (ppr/pprint context))
|
params {:context (with-out-str (ppr/pprint context))
|
||||||
:data (:data report)
|
:data (:data report)
|
||||||
:trace (or (:cause report)
|
:trace (or (:cause report)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue