From bd9121aa63ba48e53703cb219a72461407f4fcc3 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 12 Aug 2023 13:03:06 +0200 Subject: [PATCH] Fix --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index a06066c..dcce0bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,7 +110,9 @@ async fn convert_file( }, }; + if status_code.code().unwrap() != 0 { + log::error!("{:?}", status_code); return StatusCode::BAD_REQUEST.into_response(); }