diff --git a/common/app/common/exceptions.cljc b/common/app/common/exceptions.cljc index 4fe202efd..5818578a9 100644 --- a/common/app/common/exceptions.cljc +++ b/common/app/common/exceptions.cljc @@ -36,7 +36,7 @@ (defn try* [f on-error] - (try (f) (catch #?(:clj Exception :cljs :default) e (on-error e)))) + (try (f) (catch #?(:clj Throwable :cljs :default) e (on-error e)))) ;; http://clj-me.cgrand.net/2013/09/11/macros-closures-and-unexpected-object-retention/ ;; Explains the use of ^:once metadata