deps-app / versions

Deps Versions - See outdated versions for your Clojure based projects
https://versions.deps.co
Eclipse Public License 1.0
19 stars 3 forks source link

Safely handle project.clj's that use read-eval #19

Open danielcompton opened 6 years ago

danielcompton commented 6 years ago

https://github.com/clojure-emacs/orchard/blob/ce0d586905c53b596679b147806b921f3285ef6e/project.clj#L45-L47 uses #=(eval which throws an error:

[{:type java.lang.RuntimeException
   :message EvalReader not allowed when *read-eval* is false.
   :at [clojure.lang.Util runtimeException Util.java 221]}]

It would be good to be able to gracefully handle these kinds of failures and return nil in that place in the project map, instead of throwing entirely.