boot-clj / boot-cljs

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

Output non-serializable exception from boot-cljs #182

Closed sparkofreason closed 6 years ago

sparkofreason commented 6 years ago

Boot requires that exceptions be serialized to pass between tasks. However, when exceptions are thrown during CLJS compilation (e.g. from a macro) are effectively swallowed if they contain non-serializable data. This occurs frequently if using macros that work with clojure.spec objects, some of which cannot be serialized. Suggested work-around is to output the offending exception if non-serializable, so at least some information is presented as to root cause.

Deraen commented 6 years ago

Related: https://github.com/boot-clj/boot-cljs/pull/181

Deraen commented 6 years ago

Should be fixed in 2.1.5