Fork me on GitHub
#pedestal
<
2016-06-13
>
donaldball19:06:09

Prior to 0.5.0, I had used this stanza for my exception handler:

donaldball19:06:11

(def exception-handler
  (error/error-dispatch [context e]
    [{:interceptor ::routes/requires}]
    (assoc context :response {:status 503 :body {:message "System unavailable"}})
    :else (assoc context :io.pedestal.impl.interceptor/error e)))

donaldball19:06:22

Does anyone know what the correct key value for the :else clause is now?