Skip to content

Commit

Permalink
[ISSUE #8824] Fix IllegalStateException caused by logical errors (#8825)
Browse files Browse the repository at this point in the history
  • Loading branch information
yx9o authored Oct 16, 2024
1 parent 2fa7513 commit a7dc023
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public void operationSucceed(RemotingCommand response) {
PullMessageResponseHeader responseHeader =
(PullMessageResponseHeader) response.decodeCommandCustomHeader(PullMessageResponseHeader.class);
rpcResponsePromise.setSuccess(new RpcResponse(response.getCode(), responseHeader, response.getBody()));
break;
default:
RpcResponse rpcResponse = new RpcResponse(new RpcException(response.getCode(), "unexpected remote response code"));
rpcResponsePromise.setSuccess(rpcResponse);
Expand Down

0 comments on commit a7dc023

Please sign in to comment.