Fork me on GitHub
#reitit
<
2019-06-17
>
andfadeev14:06:16

@ikitommi hi, I'm currently using reitit 0.3.9 with pedestal and schema coercion, if there is not provided some required query param the response is 404, is it possible to configure response body to be error message about schema validation?

andfadeev15:06:00

I guess it is coerce-exceptions-interceptor, but seems it will not work with pedestal as 1 arity error fn

andfadeev07:06:48

yeah, exception interceptor now works, i will try to find my problem with coerce-exceptions-interceptor

andfadeev08:06:35

finally it works, thanks, i have realized that i only need exception interceptor, but i have placed in in wrong order in interceptor chain(