diff --git a/build.clj b/build.clj index b77a716..860b4dc 100644 --- a/build.clj +++ b/build.clj @@ -32,7 +32,7 @@ :main 'clojure.main :main-args ["-m" "cognitect.test-runner"]}) {:keys [exit]} (b/process cmds)] - (when-not (zero? exit) (throw "Tests failed")))) + (when-not (zero? exit) (throw (ex-info "Tests failed" {}))))) opts) (defn- jar-opts [opts]