Skip to content

Commit 09d8a6e

Browse files
beiwei30chickenlj
authored andcommitted
Need to enhance DecodeableRpcResult error message (#3995)
Fixes #3994
1 parent f95e29a commit 09d8a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public Object decode(Channel channel, InputStream input) throws IOException {
9797
handleAttachment(in);
9898
break;
9999
default:
100-
throw new IOException("Unknown result flag, expect '0' '1' '2', get " + flag);
100+
throw new IOException("Unknown result flag, expect '0' '1' '2' '3' '4' '5', but received: " + flag);
101101
}
102102
if (in instanceof Cleanable) {
103103
((Cleanable) in).cleanup();

0 commit comments

Comments
 (0)