On Monday, October 27, 2014 9:25:30 PM UTC-6, Wei Hsu wrote:
>
> This gist illustrates a problem I'm having where the channel is closed 
> after running into an exception, even if I put a try/catch block around the 
> block that generates the exception:
>
> https://gist.github.com/yayitswei/d80d51ee29dc5e2c1117
>
> How do you handle exceptions when processing items asynchronously from a 
> queue?
>

Failing preconditions throw AssertionError, which is not a subclass of 
Exception. That is why it's not being caught.

- Chris
 

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to