fix blocker problem (#2244)

* fix blocker problem

* use error level to log exception
git-as-svn/v1/dev
tswstarplanet 2020-03-19 23:56:26 +08:00 committed by GitHub
parent 0714971453
commit f4897b563d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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