Skip to content

Commit

Permalink
[fix][broker]fix missing return when internalGetReplicatedSubscriptio…
Browse files Browse the repository at this point in the history
…nStatus (apache#19054)

### Motivation

Fix missing `return null` if throw any exception when `internalGetReplicatedSubscriptionStatus`

### Modifications

Add `return null` when handing exception in `internalGetReplicatedSubscriptionStatus`.
  • Loading branch information
HQebupt authored and tisonkun committed Dec 27, 2022
1 parent 1987aaa commit 7fe0bf3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5226,6 +5226,7 @@ protected void internalGetReplicatedSubscriptionStatus(AsyncResponse asyncRespon
clientAppId(), topicName, subName, t);
asyncResponse.resume(new RestException(t));
}
return null;
}
asyncResponse.resume(status);
return null;
Expand Down

0 comments on commit 7fe0bf3

Please sign in to comment.