🐛 Fix minor issues on migration code

This commit is contained in:
Andrey Antukh 2024-01-24 13:12:15 +01:00
parent 8d0afd8c96
commit 3f97b3a112
2 changed files with 9 additions and 3 deletions

View file

@ -945,6 +945,12 @@
:file-id (str (:id fdata))
:id (str (:id mobj)))
(instance? org.graalvm.polyglot.PolyglotException cause)
(l/inf :hint "skip processing media object: invalid svg found"
:team-id (str team-id)
:file-id (str (:id fdata))
:id (str (:id mobj)))
(= (:type edata) :not-found)
(l/inf :hint "skip processing media object: underlying object does not exist"
:team-id (str team-id)