Skip to content

Commit 3e9d650

Browse files
Olicalswannodette
authored andcommitted
CLJS-3096 Add :exception true to prepl errors
1 parent 9027c02 commit 3e9d650

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/clojure/cljs/core/server.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,13 @@
118118
true)))
119119
(catch Throwable ex
120120
(out-fn {:tag :ret :val (Throwable->map ex)
121-
:ns (name ana/*cljs-ns*) :form s})
121+
:ns (name ana/*cljs-ns*) :form s
122+
:exception true})
122123
true)))
123124
(catch Throwable ex
124125
(out-fn {:tag :ret :val (Throwable->map ex)
125-
:ns (name ana/*cljs-ns*)})
126+
:ns (name ana/*cljs-ns*)
127+
:exception true})
126128
true))
127129
(recur)))
128130
(finally

0 commit comments

Comments
 (0)