Fork me on GitHub
#reitit
<
2019-04-12
>
andfadeev14:04:23

using reitit + pedestal, trying to add reitit.http.interceptors.exception/exception-interceptor but when I throw exception in route handler code - the response status is 404 instead of 500, any idea what can be wrong?

andfadeev14:04:14

and in seem like in case of exception the inteceptor does not go in error method at all

ikitommi14:04:19

@U0G22040K could it be because of https://github.com/metosin/reitit/pull/254? Will merge that on next few days

andfadeev14:04:45

yeah, tried 2 arity error fn in interceptor and it works