From a902b80884c0691d3eff12da925160536ca3d33d Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 24 May 2019 14:12:51 +0200 Subject: [PATCH] found right place for exception cause --- main/src/data_test/file_loader.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/data_test/file_loader.clj b/main/src/data_test/file_loader.clj index 7986269..ae23dff 100644 --- a/main/src/data_test/file_loader.clj +++ b/main/src/data_test/file_loader.clj @@ -43,5 +43,5 @@ (read-data (io/resource file-path)) (catch IllegalArgumentException e (throw (ex-info (str "Could not find test spec on " file-path) - {:cause e - :file-path file-prefix})))))) + {:message "Could not find test spec" + :file-path file-prefix} e))))))