📎 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)
(binding [l/*context* (request->context request)]
(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}))
:else