Skip to content

Commit

Permalink
Merge pull request #2 from Xerpa/fix-exception-in-cljs
Browse files Browse the repository at this point in the history
Fix `throw-ex` on `:cljs` branch
  • Loading branch information
macluck authored May 25, 2017
2 parents a79ce55 + 08b0052 commit 90b71ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/venia/exception.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

#?(:cljs (defmethod throw-ex :venia/spec-validation
[data]
(throw (Error. (str "Invalid query data " data)))))
(throw (js/Error. (str "Invalid query data " data)))))

0 comments on commit 90b71ac

Please sign in to comment.