Fix mastodon scrape when no img discription is set
This commit is contained in:
parent
57b4a13a7c
commit
3a0588dd65
3 changed files with 16 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue