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]
|
||||
(postal/send-message
|
||||
(assoc postal-config
|
||||
:subject (str prefix " - " subject)
|
||||
:subject (str prefix " - " (or subject throwable))
|
||||
:body (str (str/join \space body)
|
||||
(timbre/stacktrace throwable "\n")))))))})
|
Loading…
Reference in New Issue