mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
🔥 Stop printing separator lines in reports
Drop the equals-sign banners from the CLJS throwable formatter, so new frontend error reports are born without them. The JVM branch never printed them. Adds a test asserting full reports carry sections but no separator runs. AI-assisted-by: Muse Spark 1.3 Free
This commit is contained in:
parent
238a4d8613
commit
4a4f50e7ea
@ -245,7 +245,6 @@
|
||||
(defn format-throwable
|
||||
[cause & {:as opts}]
|
||||
(with-out-str
|
||||
(println "====================")
|
||||
(when-let [exdata (ex-data cause)]
|
||||
(when-let [hint (or (get exdata :hint)
|
||||
(ex-message cause))]
|
||||
@ -275,9 +274,7 @@
|
||||
(when-let [trace (.-stack cause)]
|
||||
(println "Trace:")
|
||||
(println "--------------------")
|
||||
(println (.-stack cause)))
|
||||
|
||||
(println "===================="))))
|
||||
(println (.-stack cause))))))
|
||||
|
||||
(defn first-line
|
||||
[s]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user