found right place for exception cause

pull/1/head
jem 5 years ago
parent a9fc8c82c4
commit a902b80884

@ -43,5 +43,5 @@
(read-data (io/resource file-path)) (read-data (io/resource file-path))
(catch IllegalArgumentException e (catch IllegalArgumentException e
(throw (ex-info (str "Could not find test spec on " file-path) (throw (ex-info (str "Could not find test spec on " file-path)
{:cause e {:message "Could not find test spec"
:file-path file-prefix})))))) :file-path file-prefix} e))))))

Loading…
Cancel
Save