-
Couldn't load subscription status.
- Fork 127
Open
Labels
Description
handle-exception isn't being called when there's an exception in an action (as should be according to the docs: http://clojure-liberator.github.io/liberator/doc/handlers.html)
(defresource some-resource
:allowed-methods [:get]
:available-media-types ["application/json"]
:handle-exception (fn [context] {:error (:exception context)})
:handle-ok (throw (Exception. "bahh")))