feat(improve) - 优化Starter 启动打印信息
This commit is contained in:
parent
fd78c71ddb
commit
1934d6f5a0
@ -116,7 +116,11 @@ public class ImplementationReadyChecker implements ApplicationListener<Applicati
|
||||
dto.setApplicationName(environment.getProperty("spring.application.name"));
|
||||
dto.setProfile(environment.getProperty("spring.profiles.active"));
|
||||
dto.setAlterContent("必接事件实现类检查未通过,未实现的方法: " + String.join(", ", unImplementedMethods) + "。请确保至少有一个实现类覆盖这些方法以处理相应的事件。");
|
||||
workflowCoreService.sendDingtalk(dto);
|
||||
try {
|
||||
workflowCoreService.sendDingtalk(dto);
|
||||
} catch (Exception e) {
|
||||
log.warn("send dingtalk error: {}", e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
private static boolean[] checkUnImplementedMethodsWithInterface(ApplicationContext context) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user