REQ-2924-调整钉钉提示查询堆栈信息地址

This commit is contained in:
yangqicheng 2024-09-12 19:10:51 +08:00
parent e74cb7180c
commit 801b2f0f5a
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class DingTalkUtils {
"> ###### 异常信息: " + JSONUtil.toJsonStr(Objects.isNull(throwable.getCause()) ? throwable.getMessage() :
throwable.getCause().getMessage()) + " \n\n" +
"> ##### traceId: " + MDC.get(CTX_LOG_ID_MDC) + " \n" +
"> ##### stackUrl: " + getDeadLetterStacktrace(profile, req) + " \n");
"> ##### 查看异常明细: " + getDeadLetterStacktrace(profile, req) + " \n");
request.setMarkdown(markdown);
sendDingTalk(request);
}

View File

@ -61,6 +61,6 @@ public class BpmnProcessJobController implements ProcessJobApi {
if (StringUtils.isBlank(jobId)) {
return "";
}
return bpmnProcessJobService.getDeadLetterJobExceptionStacktrace(jobId);
return bpmnProcessJobService.getDeadLetterJobExceptionStacktraceByJobId(jobId);
}
}