ring

itaied 2024-02-22T12:34:58.994709Z

hey all I'm using ring with reitit and I'm trying to find how to have the following behavior for exceptions • The status code of the response should be 500 • Log the error (print to the console) I'm using this https://cljdoc.org/d/metosin/reitit/0.7.0-alpha7/doc/ring/exception-handling-with-ring middleware, but the exception is not logged and there's no stack trace

weavejester 2024-02-22T18:11:16.385849Z

You may have to give some more information. What does your middleware look like? Are you using Reitit's create-exception-middleware function? This may also be a question you ask in the #reitit channel.

👍 1