technomancy / robert-hooke

Hooke your Clojure functions!
Other
359 stars 25 forks source link

java.lang.Exception: No hooks on uluru_api.handlers.objects$retrieve_object@5502f85d #12

Open killme2008 opened 11 years ago

killme2008 commented 11 years ago

When a function doesn't have hooks,the with-hooks-disabled macro will throw an exception.

I think it should not throw this exception,i don't care if the function has hooks, maybe i want to add the hooks later or maybe i will remove the hooks in future.When i removed,i have to modify the code to remove with-hooks-disabled invocation.

So,can you provide an option to ignore the exception? or modify the default behavior?

Thanks.