REQ-2924-调整钉钉提示查询堆栈信息地址
This commit is contained in:
parent
e74cb7180c
commit
801b2f0f5a
@ -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);
|
||||
}
|
||||
|
||||
@ -61,6 +61,6 @@ public class BpmnProcessJobController implements ProcessJobApi {
|
||||
if (StringUtils.isBlank(jobId)) {
|
||||
return "";
|
||||
}
|
||||
return bpmnProcessJobService.getDeadLetterJobExceptionStacktrace(jobId);
|
||||
return bpmnProcessJobService.getDeadLetterJobExceptionStacktraceByJobId(jobId);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user