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(); }