Back
wrap-stacktrace (clj)
(source)function
(wrap-stacktrace handler)
(wrap-stacktrace handler options)
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.
Accepts the following option:
:color? - if true, apply ANSI colors to terminal stacktrace (default false)