Fork me on GitHub
#ring-swagger
<
2017-10-09
>
mgrbyte15:10:20

@ikitommi Am attempting to implement a generic exception handler following https://github.com/metosin/compojure-api/wiki/Exception-handling - this doesn't seem to be working for me - is compojure.api.middleware/wrap-exceptions always added to :middleware` for api ?

mgrbyte16:10:02

NM, Sorry for the noise. Got caught out with context (exception being raised in a datomic.api function which gets converted to a java.util.concurrent.ExecutionException which I hadn't spotted

ikitommi18:10:07

np. and good to hear you got it working.