Commit 60307b8c by zhangxingmin

push

parent 33e38bec
...@@ -602,8 +602,8 @@ public class AliYunOssServiceImpl implements OssService { ...@@ -602,8 +602,8 @@ public class AliYunOssServiceImpl implements OssService {
log.info("已切换到OSS提供商: {}", provider.getName()); log.info("已切换到OSS提供商: {}", provider.getName());
} catch (Exception e) { } catch (Exception e) {
log.error("切换OSS提供商失败: {}", e.getMessage()); log.error("切换OSS提供商失败", e); // 打印完整堆栈
throw new RuntimeException("切换OSS提供商失败"); throw new RuntimeException("切换OSS提供商失败", e); // 保留原始异常
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment