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))
(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))))))

Loading…
Cancel
Save