From 8ad1110fcb4ff350b435cd07edd46f83097ed6e3 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Wed, 9 Aug 2023 19:19:51 -0700 Subject: [PATCH] fix test failure handling --- build.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]