mirror of https://github.com/status-im/timbre.git
Add `ex-data` output to `stacktrace` fn
This commit is contained in:
parent
f1d2d89713
commit
eaa4495e49
|
@ -40,7 +40,8 @@
|
|||
|
||||
(defn stacktrace [throwable & [separator]]
|
||||
(when throwable
|
||||
(str (when-let [s separator] s) (stacktrace/pst-str throwable))))
|
||||
(str separator (when-let [d (ex-data throwable)] (str d separator))
|
||||
(stacktrace/pst-str throwable))))
|
||||
|
||||
;;;; Default configuration and appenders
|
||||
|
||||
|
|
Loading…
Reference in New Issue