From 7453638e17f93761480ded6586ff1ba06195f463 Mon Sep 17 00:00:00 2001
From: Konrad Mrożek <kmrozek@comscore.com>
Date: Tue, 17 Oct 2023 08:22:53 +0000
Subject: [PATCH] Print stack trace if an exception occured

---
 clojure/src/test_runner.clj |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/clojure/src/test_runner.clj b/clojure/src/test_runner.clj
index e8cc9f9..c617c67 100644
--- a/clojure/src/test_runner.clj
+++ b/clojure/src/test_runner.clj
@@ -72,7 +72,9 @@
       (println (str "ERROR-CONTINUE:ACTUAL:"
                     (if (instance? Throwable (:actual m))
                       (ex-message (:actual m))
-                      (pr-str (:actual m))))))))
+                      (pr-str (:actual m)))))
+      (when (instance? Throwable (:actual m))
+        (.printStackTrace (:actual m))))))
 
 (defmethod vim-report :default
   [_])

--
Gitblit v1.9.3