mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 15:13:03 +00:00
📎 Don't report invalid image validation errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user