Skip to content

Commit

Permalink
handle all Throwables during agent actions
Browse files Browse the repository at this point in the history
  • Loading branch information
richhickey committed Jan 7, 2009
1 parent 02157fa commit 37d0ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvm/clojure/lang/Agent.java
Expand Up @@ -70,7 +70,7 @@ static void doRun(Action action){
if(changed)
action.agent.notifyWatches();
}
catch(Exception e)
catch(Throwable e)
{
//todo report/callback
action.agent.errors = RT.cons(e, action.agent.errors);
Expand Down

0 comments on commit 37d0ce6

Please sign in to comment.