Skip to content

Commit

Permalink
fix print msg error when msg is not RemotingCommand instance
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangtao committed Nov 28, 2016
1 parent 4219494 commit 218ad1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ByteBuffer encode(NioChannel channel, Object msg) {
RemotingHelper.closeChannel(c);
}
} else {
LOGGER.error("Message is instance of " + RemotingCommand.class.getName());
LOGGER.error("Message is not instance of " + RemotingCommand.class.getName());
}
return null;
}
Expand Down

0 comments on commit 218ad1a

Please sign in to comment.