Fix frozen autorunner issue on compiler exceptions
This commit is contained in:
parent
777d905d98
commit
4038946c14
@ -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."))
|
||||||
|
Loading…
Reference in New Issue
Block a user