Merge pull request #152 from codeclimate/jp/bind-out-to-err-for-exceptions
Output exception details to STDERR
This commit is contained in:
commit
be013ef0d3
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue