📎 Don't report invalid image validation errors

This commit is contained in:
Andrey Antukh committed 2024-04-10 15:31:49 +02:00
1 parent fd0a760b77
commit 79fbbe0bee
1 file changed
+1 -1
+1 -1
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