Merge pull request #1172 from AppFlowy-IO/bucket-creation-failure

fix: bucket creation failure should result in the server failing, instead of proceeding
This commit is contained in:
Khor Shu Heng 2025-01-18 17:43:12 +08:00 committed by GitHub
commit 337e28de38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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())
}
},
}