From 6eded0fe317a70bd2ee654f9bca49f2859eabac3 Mon Sep 17 00:00:00 2001 From: khorshuheng Date: Sat, 18 Jan 2025 13:29:18 +0800 Subject: [PATCH] fix: bucket creation failure should result in the server failing, instead of proceeding --- src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.rs b/src/application.rs index d27874a6..e8cc80d7 100644 --- a/src/application.rs +++ b/src/application.rs @@ -488,7 +488,7 @@ async fn create_bucket_if_not_exists( } } else { error!("Failed to create bucket: {:?}", err); - Ok(()) + Err(err.into()) } }, }