Browse Source

fix blocker problem (#2244)

* fix blocker problem

* use error level to log exception
pull/3/MERGE
tswstarplanet 5 years ago committed by gaojun2048
parent
commit
bc65253fd1
  1. 2
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingClient.java
  2. 2
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/handler/NettyServerHandler.java

2
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/NettyRemotingClient.java

@ -301,7 +301,7 @@ public class NettyRemotingClient {
return channel; return channel;
} }
} catch (Exception ex) { } catch (Exception ex) {
logger.info("connect to {} error {}", address, ex); logger.error("connect to {} error", address, ex);
} }
return null; return null;
} }

2
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/handler/NettyServerHandler.java

@ -117,7 +117,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
try { try {
pair.getLeft().process(channel, msg); pair.getLeft().process(channel, msg);
} catch (Throwable ex) { } catch (Throwable ex) {
logger.error("process msg {} error : {}", msg, ex); logger.error("process msg {} error", msg, ex);
} }
} }
}; };

Loading…
Cancel
Save