Skip to content

Commit

Permalink
Merge pull request ltsopensource#320 from xiangtao/master
Browse files Browse the repository at this point in the history
fix print msg error when msg is not RemotingCommand instance
  • Loading branch information
qq254963746 authored Dec 1, 2016
2 parents 8536d16 + 218ad1a commit e1d9f67
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 e1d9f67

Please sign in to comment.