boot-clj / boot-cljs

Boot task to compile ClojureScript programs.
Eclipse Public License 1.0
176 stars 40 forks source link

Attach messages about warnings and exceptions to fileset #101

Closed martinklepsch closed 9 years ago

martinklepsch commented 9 years ago

Required to use them in downstream tasks such as boot-reload: https://github.com/adzerk-oss/boot-reload/pull/32

I'm thinking that handle-ex could still be improved here. It's inconsistent and surprising that it does not throw some exceptions but just prints them. Tasks like speak expect an exception to indicate failure.

Also we should put all kinds of exceptions during compilation into the report-atom I didn't really look into how that could be done in a not-too-verbose manner.