REQ-3300: 调整提示信息

This commit is contained in:
yanglin 2025-02-27 15:08:48 +08:00
parent cf32ab77a3
commit ee3b897f52
2 changed files with 2 additions and 3 deletions

View File

@ -80,8 +80,7 @@ public class ContractManager {
return response; return response;
} }
catch (TencentCloudSDKException e) { catch (TencentCloudSDKException e) {
log.warn("创建合同失败", e); throw fail(e, "腾讯返回: {}", e.getMessage());
throw fail(e, String.format("腾讯返回: %s", e.getMessage()));
} }
} }

View File

@ -390,7 +390,7 @@ public class EssClient implements InitializingBean {
return call(builder); return call(builder);
} }
catch (TencentCloudSDKException e) { catch (TencentCloudSDKException e) {
throw fail(e, String.format("腾讯返回: %s", e.getMessage())); throw fail(e, "腾讯返回: {}", e.getMessage());
} }
} }