Skip to content

Commit fc98f92

Browse files
foguspuredanger
authored andcommitted
CLJ-2620: io-prepl now calls valf on exeception data in the case where an exception occurs in the :print-eval-result phase
Signed-off-by: Alex Miller <alex.miller@cognitect.com>
1 parent 4a9ce39 commit fc98f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/clojure/core/server.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
(try
289289
(assoc m :val (valf (:val m)))
290290
(catch Throwable ex
291-
(assoc m :val (ex->data ex :print-eval-result)
291+
(assoc m :val (valf (ex->data ex :print-eval-result))
292292
:exception true)))
293293
m))))))))
294294

0 commit comments

Comments
 (0)