Print the threshold

This commit is contained in:
niten 2023-05-22 09:48:15 -07:00
parent f185391ed2
commit f84c919f67
1 changed files with 2 additions and 1 deletions

View File

@ -39,8 +39,9 @@
(-> note (-> note
(assoc :app app) (assoc :app app)
(update :urgency codify-urgency))) (update :urgency codify-urgency)))
(log/info! logger (format "ignoring low-urgency message (%s): %s" (log/info! logger (format "ignoring low-urgency message (%s < %s): %s"
(:urgency note) (:urgency note)
urgency-threshold
(:summary note)))) (:summary 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"