Fix frozen autorunner issue on compiler exceptions

This commit is contained in:
Colin Jones 2011-05-11 07:26:07 -05:00
parent 777d905d98
commit 4038946c14

View File

@ -38,7 +38,12 @@
(defn tests-pass? [file-path] (defn tests-pass? [file-path]
(use '[path-to-enlightenment :only [meditations __ ___]]) (use '[path-to-enlightenment :only [meditations __ ___]])
(load-file file-path)) (try
(load-file file-path)
(catch Exception e
(println)
(println e)
false)))
(defn namaste [] (defn namaste []
(println "\nYou have achieved clojure enlightenment. Namaste.")) (println "\nYou have achieved clojure enlightenment. Namaste."))