From 0c51cb6236317eec558e2cfc5bcc93188e26f9e6 Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Wed, 27 Jul 2016 08:55:45 -0700 Subject: [PATCH] Pre: Catch Throwable, not Exception. --- src/datomish/pair_chan.cljc | 4 ++-- src/datomish/sqlite.cljc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/datomish/pair_chan.cljc b/src/datomish/pair_chan.cljc index 326477ff..0c97fe88 100644 --- a/src/datomish/pair_chan.cljc +++ b/src/datomish/pair_chan.cljc @@ -33,7 +33,7 @@ (clojure.core.async/go (try (do ~@body) - (catch Exception ex# + (catch Throwable ex# (clojure.core.async/>! ~chan [nil ex#])))) ~chan))) @@ -56,7 +56,7 @@ (clojure.core.async/go (try (clojure.core.async/>! pc-chan# [(do ~@body) nil]) - (catch Exception ex# + (catch Throwable ex# (clojure.core.async/>! pc-chan# [nil ex#])))) pc-chan#))) diff --git a/src/datomish/sqlite.cljc b/src/datomish/sqlite.cljc index 299b64ee..135d0e74 100644 --- a/src/datomish/sqlite.cljc +++ b/src/datomish/sqlite.cljc @@ -85,7 +85,7 @@ (do (