|
|
|
@ -59,7 +59,7 @@ public class DesignerWorkspaceProvider extends Activator {
|
|
|
|
|
Workspace workspace = DesignerWorkspaceGenerator.generate(workspaceInfo); |
|
|
|
|
boolean checkValid = workspace != null && workspaceInfo.checkValid(); |
|
|
|
|
if (!checkValid) { |
|
|
|
|
EnvChangeEntrance.getInstance().dealEvnExceptionWhenStartDesigner(); |
|
|
|
|
EnvChangeEntrance.getInstance().dealEvnExceptionWhenStartDesigner(null, workspaceInfo); |
|
|
|
|
} else { |
|
|
|
|
WorkContext.switchTo(workspace); |
|
|
|
|
//在设计器完全启动完成后,对初始环境进行一次服务检测,对主要功能无影响,异常仅做日志提示即可
|
|
|
|
@ -76,8 +76,7 @@ public class DesignerWorkspaceProvider extends Activator {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} catch (Throwable e) { |
|
|
|
|
RemoteDesignExceptionHandler.getInstance().handleInStart(e, workspaceInfo); |
|
|
|
|
EnvChangeEntrance.getInstance().dealEvnExceptionWhenStartDesigner(); |
|
|
|
|
EnvChangeEntrance.getInstance().dealEvnExceptionWhenStartDesigner(e, workspaceInfo); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
pluginErrorRemind(); |
|
|
|
|