From 79fbbe0bee742450bd7d63abc5d006bc4da8886a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 10 Apr 2024 10:24:56 +0200 Subject: [PATCH] :paperclip: Don't report invalid image validation errors --- backend/src/app/http/errors.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/http/errors.clj b/backend/src/app/http/errors.clj index 47a9a4dde..14f4cb223 100644 --- a/backend/src/app/http/errors.clj +++ b/backend/src/app/http/errors.clj @@ -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