Skip to content

Commit b11f7f3

Browse files
committed
wip
1 parent c42f413 commit b11f7f3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/sci/impl/evaluator.cljc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
(types/eval case-default ctx bindings)
7272
(types/eval found ctx bindings)))))
7373

74-
(defn- sci-error-ex?
74+
#_(defn- sci-error-ex?
7575
"Returns true if e is a sci/error wrapper exception"
7676
[e]
7777
(and (instance? #?(:clj clojure.lang.ExceptionInfo :cljs cljs.core/ExceptionInfo) e)
@@ -95,9 +95,7 @@
9595
;; Only unwrap for non-^:sci/error catches - the ^:sci/error catch wants
9696
;; the wrapped exception with location info
9797
e-for-match (if (and sci-error
98-
(not (:sci-error? c))
99-
(sci-error-ex? e)
100-
(ex-cause e))
98+
(not (:sci-error c)))
10199
(ex-cause e)
102100
e)]
103101
(when #?(:cljs

0 commit comments

Comments
 (0)