ring.middleware.stacktrace
(source)Middleware that catches exceptions thrown by the handler, and reports the
error and stacktrace via a webpage and STDERR log.
This middleware is for debugging purposes, and should be limited to
development environments.
For more info about this library see:
https://github.com/ring-clojure/ring/wikiPublic Variable | Short Description |
---|---|
wrap-stacktrace (clj) | Wrap a handler such that exceptions are caught, a corresponding stacktrace is logged to *err*, and a HTML representation of the stacktrace is returned as a response. |
wrap-stacktrace-log (clj) | Wrap a handler such that exceptions are logged to *err* and then rethrown. |
wrap-stacktrace-web (clj) | Wrap a handler such that exceptions are caught and a response containing a HTML representation of the exception and stacktrace is returned. |