🔥 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:
Andrey Antukh 2026-10-05 10:15:16 +00:00
parent 238a4d8613
commit 4a4f50e7ea

View File

@ -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]