found right place for exception cause
This commit is contained in:
parent
a9fc8c82c4
commit
a902b80884
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue