Back

wrap-stacktrace-log (clj)

(source)

function

(wrap-stacktrace-log handler) (wrap-stacktrace-log handler options)
Wrap a handler such that exceptions are logged to *err* and then rethrown. Accepts the following options: :color? - if true, apply ANSI colors to stacktrace (default false)

Examples