found right place for exception cause

This commit is contained in:
jem 2019-05-24 14:12:51 +02:00
parent a9fc8c82c4
commit a902b80884

View file

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