mirror of https://github.com/status-im/timbre.git
Use Throwable as Postal appender subject when no other args given
This commit is contained in:
parent
ddd9e18d8e
commit
ce4c9c34de
|
@ -17,6 +17,6 @@
|
||||||
(let [[subject & body] args]
|
(let [[subject & body] args]
|
||||||
(postal/send-message
|
(postal/send-message
|
||||||
(assoc postal-config
|
(assoc postal-config
|
||||||
:subject (str prefix " - " subject)
|
:subject (str prefix " - " (or subject throwable))
|
||||||
:body (str (str/join \space body)
|
:body (str (str/join \space body)
|
||||||
(timbre/stacktrace throwable "\n")))))))})
|
(timbre/stacktrace throwable "\n")))))))})
|
Loading…
Reference in New Issue