The following will cause the failed assertion (ioc_helpers.cljs:155)
when evaluated as a whole, and will correctly catch the Error when
just the try' gets evaluated. The
finally' block runs only if the
inner block is evaluated:
`
(go
(try
(throw (js/Error. "asdf"))
(catch ExceptionInfo e
(println "ExceptionInfo"))
(catch js/Error e
(println "js/Error"))
(finally
(println "finally"))))
`
Another notable observation is that changing the order of the `catch'
blocks will change the behavior: If the (catch js/Error ...) is the
first catch block, it will work just as expected.