Browse Source

REPORT-71062 【冒烟】设计器启动报错 不影响功能的报错日志 调整

release/11.0
hades 3 years ago
parent
commit
03d61df45c
  1. 2
      designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java
  2. 2
      designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerListener.java

2
designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java

@ -74,7 +74,7 @@ public class LoginAuthServer {
try { try {
server.start(); server.start();
} catch (Exception e) { } catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e); FineLoggerFactory.getLogger().warn(e.getMessage(), e);
} }
} }

2
designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerListener.java

@ -18,6 +18,6 @@ public class DesignerAnalyzerListener extends AgentBuilder.Listener.Adapter {
@Override @Override
public void onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) { public void onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) {
FineLoggerFactory.getLogger().error("Designer-Analyzer transform error:" + typeName); FineLoggerFactory.getLogger().warn("Designer-Analyzer transform error:" + typeName);
} }
} }

Loading…
Cancel
Save