Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielcompton opened this issue Mar 7, 2018 · 0 comments
Open

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

danielcompton opened this issue Mar 7, 2018 · 0 comments

Comments

@danielcompton
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant