Browse Source

REPORT-42972 加个判断

feature/big-screen
hades 4 years ago
parent
commit
24d71eb1f1
  1. 4
      designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

4
designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

@ -80,7 +80,9 @@ public class DesignerWorkspaceProvider extends Activator {
WorkspaceCheckException exception = (WorkspaceCheckException) e.getCause();
// 输出标准详情
TestConnectionResult result = TestConnectionResult.parseByException(exception);
FineLoggerFactory.getLogger().error(result.getText().replaceAll(TestConnectionResult.WRAP, StringUtils.EMPTY) + Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Modify_PassWord"));
if (result.isVerifyResult()) {
FineLoggerFactory.getLogger().error(result.getText().replaceAll(TestConnectionResult.WRAP, StringUtils.EMPTY) + Toolkit.i18nText("Fine-Design_Basic_Remote_Design_Modify_PassWord"));
}
}
EnvChangeEntrance.getInstance().dealEvnExceptionWhenStartDesigner();
}

Loading…
Cancel
Save