Fix mastodon scrape when no img discription is set

This commit is contained in:
Travis Shears 2025-08-18 10:05:16 +02:00
parent 57b4a13a7c
commit 3a0588dd65
3 changed files with 16 additions and 14 deletions

View file

@ -4,6 +4,7 @@
[malli.core :as m]))
(defn validate-with-throw [value schema]
(tel/log! {:level :info :data {:value value :schema schema}} "Validating value")
(if (m/validate schema value)
value
(do