Browse Source

REPORT-73391【设计器环境监测】缺少fine-activator-11.0,预期外启动的弹窗没有捕获

守护线程的检测逻辑处理。
feature/x
Harrison 2 years ago
parent
commit
639d5f6d8e
  1. 17
      designer-realize/src/main/java/com/fr/start/FineDesigner.java

17
designer-realize/src/main/java/com/fr/start/FineDesigner.java

@ -1,5 +1,7 @@
package com.fr.start;
import com.fr.exit.DesignerExiter;
import com.fr.process.engine.FineProcessUtils;
import com.fr.process.engine.core.FineProcessEntry;
/**
@ -11,4 +13,19 @@ import com.fr.process.engine.core.FineProcessEntry;
*/
public class FineDesigner extends FineProcessEntry {
public static void main(String[] args) {
FineDesigner fineDesigner = new FineDesigner();
FineProcessUtils.run(fineDesigner, args);
}
@Override
public void run(String[] args) {
try {
super.run(args);
} catch (Throwable throwable) {
DesignerExiter.getInstance().exit(throwable);
}
}
}

Loading…
Cancel
Save