feat(improve) - 优化POM信息

This commit is contained in:
wangli 2026-02-25 11:39:07 +08:00
parent d637c702ba
commit 7d5c9f64c8

View File

@ -32,10 +32,14 @@ public class ClientInfoReporter implements ApplicationListener<ApplicationReadyE
@Override
public void onApplicationEvent(ApplicationReadyEvent event) {
log.info("application start success, reporting client info...");
workflowCoreService.reportClientInfo(ReportClientInfoDTO.builder()
.clientApplicationName(applicationName)
.clientVersion(clientVersion)
.manageableStatus(manageableStatus)
.build());
try {
workflowCoreService.reportClientInfo(ReportClientInfoDTO.builder()
.clientApplicationName(applicationName)
.clientVersion(clientVersion)
.manageableStatus(manageableStatus)
.build());
} catch (Exception e) {
log.warn("error executing report client info : {}", e.getMessage(), e);
}
}
}