mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
fix(storage): enrich versioning fallback log (#4241)
This commit is contained in:
@@ -55,7 +55,11 @@ async fn bucket_versioning_config(bucket: &str) -> VersioningConfiguration {
|
||||
match BucketVersioningSys::get(bucket).await {
|
||||
Ok(cfg) => cfg,
|
||||
Err(err) => {
|
||||
tracing::warn!("{:?}", err);
|
||||
tracing::warn!(
|
||||
bucket = %bucket,
|
||||
error = ?err,
|
||||
"failed to load bucket versioning configuration; using default configuration"
|
||||
);
|
||||
VersioningConfiguration::default()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user