Skip to content

Commit

Permalink
Need to enhance DecodeableRpcResult error message (#3995)
Browse files Browse the repository at this point in the history
Fixes #3994
  • Loading branch information
beiwei30 authored and chickenlj committed May 10, 2019
1 parent f95e29a commit 09d8a6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public Object decode(Channel channel, InputStream input) throws IOException {
handleAttachment(in);
break;
default:
throw new IOException("Unknown result flag, expect '0' '1' '2', get " + flag);
throw new IOException("Unknown result flag, expect '0' '1' '2' '3' '4' '5', but received: " + flag);
}
if (in instanceof Cleanable) {
((Cleanable) in).cleanup();
Expand Down

0 comments on commit 09d8a6e

Please sign in to comment.