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:
commit
337e28de38
|
|
@ -488,7 +488,7 @@ async fn create_bucket_if_not_exists(
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
error!("Failed to create bucket: {:?}", err);
|
error!("Failed to create bucket: {:?}", err);
|
||||||
Ok(())
|
Err(err.into())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue