Pre Merge pull request !244 from 陈賝/dev

This commit is contained in:
陈賝 2022-11-07 08:58:45 +00:00 committed by Gitee
commit dcbf3e7946
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -116,7 +116,7 @@ public class OssClient {
try { try {
client.deleteObject(properties.getBucketName(), path); client.deleteObject(properties.getBucketName(), path);
} catch (Exception e) { } catch (Exception e) {
throw new OssException("上传文件失败,请检查配置信息:[" + e.getMessage() + "]"); throw new OssException("删除文件失败,请检查配置信息:[" + e.getMessage() + "]");
} }
} }