Skip to content

Commit ef0cc87

Browse files
committed
restore exception message to single line report
1 parent 1c0468d commit ef0cc87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/clj/clojure/main.clj

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
el (aget (.getStackTrace ex) 0)]
107107
(.println *err*
108108
(str (-> ex class .getSimpleName)
109+
" " (.getMessage ex) " "
109110
(when-not (instance? clojure.lang.Compiler$CompilerException ex)
110111
(str " " (stack-element-str el)))))))
111112

0 commit comments

Comments
 (0)