We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c42f413 commit b11f7f3Copy full SHA for b11f7f3
src/sci/impl/evaluator.cljc
@@ -71,7 +71,7 @@
71
(types/eval case-default ctx bindings)
72
(types/eval found ctx bindings)))))
73
74
-(defn- sci-error-ex?
+#_(defn- sci-error-ex?
75
"Returns true if e is a sci/error wrapper exception"
76
[e]
77
(and (instance? #?(:clj clojure.lang.ExceptionInfo :cljs cljs.core/ExceptionInfo) e)
@@ -95,9 +95,7 @@
95
;; Only unwrap for non-^:sci/error catches - the ^:sci/error catch wants
96
;; the wrapped exception with location info
97
e-for-match (if (and sci-error
98
- (not (:sci-error? c))
99
- (sci-error-ex? e)
100
- (ex-cause e))
+ (not (:sci-error c)))
101
(ex-cause e)
102
e)]
103
(when #?(:cljs
0 commit comments