diff --git a/src/tattler/core.clj b/src/tattler/core.clj index ffcfb63..4259bd9 100644 --- a/src/tattler/core.clj +++ b/src/tattler/core.clj @@ -3,12 +3,16 @@ [milquetoast.client :as mqtt] [clojure.core.async :refer [go-loop note :urgency (keyword)) }) - (log/error! logger (format "rejecting invalid notification: %s" - (humanize (t/explain Notification note))))) + (let [err (humanize (t/explain Notification note))] + (log/error! logger (format "rejecting invalid notification: %s (%s)\n%s" + (:summary err) (:body err) + (pprint-to-string note))))) (recur (