Just print the whole damn message

This commit is contained in:
niten 2023-05-22 10:02:21 -07:00
parent f84c919f67
commit e0d4400c5f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
(log/info! logger (format "ignoring low-urgency message (%s < %s): %s"
(:urgency note)
urgency-threshold
(:summary note))))
note)))
(let [err (humanize (t/explain Notification note))]
(log/error! logger (format "rejecting invalid notification: %s (%s)\n%s"
(:summary err) (:body err)