Skip to content

Commit

Permalink
modify the log info
Browse files Browse the repository at this point in the history
  • Loading branch information
youyong205 committed Mar 11, 2015
1 parent d8b9289 commit ed7b036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added cat-client.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected boolean getOSMatches(String osNamePrefix) {
public void init() {
try {
startServer(m_port);
} catch (InterruptedException e) {
} catch (Exception e) {
m_logger.error(e.getMessage(), e);
}
}
Expand Down Expand Up @@ -98,10 +98,10 @@ protected void initChannel(SocketChannel ch) throws Exception {

try {
bootstrap.bind(port).sync();
m_logger.info("start netty server!");
} catch (Exception e) {
Cat.logError("Started Netty Server Failed:" + port, e);
m_logger.error("Started Netty Server Failed:" + port, e);
}
m_logger.info("start netty server!");
}

public class MessageDecoder extends ByteToMessageDecoder {
Expand Down

0 comments on commit ed7b036

Please sign in to comment.