Re: :default catch blocks with core.async and clojurescript

2016-05-16 Thread Kevin Downey
On 05/15/2016 06:39 PM, Kevin Downey wrote: > On 05/14/2016 09:31 PM, cameron wrote: >> I'm having an issue where :default catch blocks are not working in >> clojurescript when in a go block. >> >> The following code prints "a str" as expected: >> >> (prn (try >>(throw "a str") >>

Re: :default catch blocks with core.async and clojurescript

2016-05-15 Thread Kevin Downey
On 05/14/2016 09:31 PM, cameron wrote: > I'm having an issue where :default catch blocks are not working in > clojurescript when in a go block. > > The following code prints "a str" as expected: > > (prn (try >(throw "a str") >(catch :default e e ))) > > The same code in

:default catch blocks with core.async and clojurescript

2016-05-14 Thread cameron
I'm having an issue where :default catch blocks are not working in clojurescript when in a go block. The following code prints "a str" as expected: (prn (try (throw "a str") (catch :default e e ))) The same code in a go block results in an unhandled exception (go (prn (tr