Just print the whole damn message
This commit is contained in:
parent
f84c919f67
commit
e0d4400c5f
|
@ -42,7 +42,7 @@
|
||||||
(log/info! logger (format "ignoring low-urgency message (%s < %s): %s"
|
(log/info! logger (format "ignoring low-urgency message (%s < %s): %s"
|
||||||
(:urgency note)
|
(:urgency note)
|
||||||
urgency-threshold
|
urgency-threshold
|
||||||
(:summary note))))
|
note)))
|
||||||
(let [err (humanize (t/explain Notification note))]
|
(let [err (humanize (t/explain Notification note))]
|
||||||
(log/error! logger (format "rejecting invalid notification: %s (%s)\n%s"
|
(log/error! logger (format "rejecting invalid notification: %s (%s)\n%s"
|
||||||
(:summary err) (:body err)
|
(:summary err) (:body err)
|
||||||
|
|
Loading…
Reference in New Issue