0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

📎 Don't report invalid image validation errors

This commit is contained in:
Andrey Antukh 2024-04-10 10:24:56 +02:00
parent fd0a760b77
commit 79fbbe0bee

View file

@ -99,7 +99,7 @@
(= code :invalid-image) (= code :invalid-image)
(binding [l/*context* (request->context request)] (binding [l/*context* (request->context request)]
(let [cause (or parent-cause err)] (let [cause (or parent-cause err)]
(l/error :hint "unexpected error on processing image" :cause cause) (l/warn :hint "unexpected error on processing image" :cause cause)
{::rres/status 400 ::rres/body data})) {::rres/status 400 ::rres/body data}))
:else :else