summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2009-01-07 15:54:51 +0000
committerRich Hickey <richhickey@gmail.com>2009-01-07 15:54:51 +0000
commit37d0ce606937ce086b37f461e2616b09263c3110 (patch)
tree29d7b2920e9289bc060e42f9067f1c3725b2963a
parent02157fa9f0ce9a9b7ce3df38312498ffe600632e (diff)
handle all Throwables during agent actions
-rw-r--r--src/jvm/clojure/lang/Agent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jvm/clojure/lang/Agent.java b/src/jvm/clojure/lang/Agent.java
index 50c430c6..95c10216 100644
--- a/src/jvm/clojure/lang/Agent.java
+++ b/src/jvm/clojure/lang/Agent.java
@@ -70,7 +70,7 @@ static class Action implements Runnable{
if(changed)
action.agent.notifyWatches();
}
- catch(Exception e)
+ catch(Throwable e)
{
//todo report/callback
action.agent.errors = RT.cons(e, action.agent.errors);