mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
refactor: 优化部分错误提示信息和代码注释
This commit is contained in:
@@ -374,7 +374,8 @@ public class OssStorageStrategy implements StorageStrategy<OssClient> {
|
||||
} catch (Exception e) {
|
||||
// 如果 getBucketAcl 失败,可能是权限或连接问题
|
||||
log.error("获取桶 ACL 失败: {}", e.getMessage());
|
||||
return true; // 出现错误时,默认认为桶是私有的
|
||||
// 出现错误时,默认认为桶是私有的
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user