Merge pull request #152 from codeclimate/jp/bind-out-to-err-for-exceptions

Output exception details to STDERR
This commit is contained in:
Daniel Compton 2016-02-29 14:10:44 +13:00
commit be013ef0d3

View file

@ -40,8 +40,9 @@
cli-reporter)
:rules (or rules all-rules))
(catch Exception e
(println "Check failed -- skipping rest of file")
(println (.getMessage e)))))
(binding [*out* *err*]
(println "Check failed -- skipping rest of file")
(println (.getMessage e))))))
source-files)))
(defn external-run