refactor: 优化部分错误提示信息和代码注释

This commit is contained in:
2025-03-18 20:42:46 +08:00
parent a6fb65f97e
commit c9c7c34506
8 changed files with 26 additions and 25 deletions

View File

@@ -374,7 +374,8 @@ public class OssStorageStrategy implements StorageStrategy<OssClient> {
} catch (Exception e) {
// 如果 getBucketAcl 失败,可能是权限或连接问题
log.error("获取桶 ACL 失败: {}", e.getMessage());
return true; // 出现错误时,默认认为桶是私有的
// 出现错误时,默认认为桶是私有的
return true;
}
}