Browse Source

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

feature/x
方磊 3 years ago
parent
commit
f515d766e4
  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