fix: bucket creation failure should result in the server failing, instead of proceeding

This commit is contained in:
khorshuheng 2025-01-18 13:29:18 +08:00
parent ab9932a943
commit 6eded0fe31
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ async fn create_bucket_if_not_exists(
}
} else {
error!("Failed to create bucket: {:?}", err);
Ok(())
Err(err.into())
}
},
}