|
@@ -48,8 +48,10 @@ public class BuildSceneDTServiceImpl implements IBuildSceneDTService {
|
|
public void handModelFail(String reason, String serverPath, String num, String hostName) {
|
|
public void handModelFail(String reason, String serverPath, String num, String hostName) {
|
|
CompletableFuture.runAsync(() -> {
|
|
CompletableFuture.runAsync(() -> {
|
|
try {
|
|
try {
|
|
|
|
+ log.info("开始发送钉钉消息");
|
|
String logPath = String.format(contentExt,fYunFileConfig.getHost(),num,fYunFileConfig.getHost(),num);
|
|
String logPath = String.format(contentExt,fYunFileConfig.getHost(),num,fYunFileConfig.getHost(),num);
|
|
- String content = String.format(this.DINGTALK_MSG_PATTERN + logPath, this.mainUrl, hostName, reason, num, serverPath);
|
|
|
|
|
|
+ log.info("发送钉钉消息,content:{}", logPath);
|
|
|
|
+ String content = String.format(this.DINGTALK_MSG_PATTERN, this.mainUrl, hostName, reason, num, serverPath) + logPath;
|
|
log.info("发送钉钉消息,content:{}", content);
|
|
log.info("发送钉钉消息,content:{}", content);
|
|
dingTalkSendUtils.sendActioncardMsgToDingRobot(content,"场景计算失败");
|
|
dingTalkSendUtils.sendActioncardMsgToDingRobot(content,"场景计算失败");
|
|
} catch (ApiException | UnsupportedEncodingException | NoSuchAlgorithmException | InvalidKeyException apiException) {
|
|
} catch (ApiException | UnsupportedEncodingException | NoSuchAlgorithmException | InvalidKeyException apiException) {
|