Browse Source

Pull request #6729: REPORT-62596 远程设计websocket断开提示优化-远程正常状态下启动设计器时出现toast弹窗

Merge in DESIGN/design from ~FANGLEI/design:feature/x to feature/x

* commit '3fb2b1f27929db5672431a6b808d112172b28c4e':
  REPORT-62596 远程设计websocket断开提示优化-远程正常状态下启动设计器时出现toast弹窗
feature/x
fanglei 3 years ago
parent
commit
e898117c98
  1. 2
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

2
designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

@ -128,6 +128,7 @@ public class DesignerSocketIO {
} else {
//表示所有的uri都连接不成功
FineLoggerFactory.getLogger().warn("All uris failed to connect");
showSocketDisconnectToast();
}
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
@ -206,7 +207,6 @@ public class DesignerSocketIO {
private static final Emitter.Listener failRetry = new Emitter.Listener() {
@Override
public void call(Object... args) {
showSocketDisconnectToast();
printLog(args, PrintEventLogImpl.WARN, "failed args: {}");
status = Status.Disconnecting;
socket.close();

Loading…
Cancel
Save