diff --git a/backend/src/app/http/middleware.clj b/backend/src/app/http/middleware.clj index 64f2b5d548..e11a60d04d 100644 --- a/backend/src/app/http/middleware.clj +++ b/backend/src/app/http/middleware.clj @@ -118,8 +118,7 @@ (t/write! tw data))) (catch java.io.IOException _) (catch Throwable cause - (l/warn :hint "unexpected error on encoding response" - :cause cause)) + (l/error :hint "unexpected error on encoding response" :cause cause)) (finally (.close ^OutputStream output-stream)))))) @@ -132,8 +131,8 @@ (catch java.io.IOException _) (catch Throwable cause - (l/warn :hint "unexpected error on encoding response" - :cause cause)) + (l/error :hint "unexpected error on encoding response" + :cause cause)) (finally (.close ^OutputStream output-stream))))))