Skip to content

Commit

Permalink
[fix][admin] Fix exception results in getMessageId method
Browse files Browse the repository at this point in the history
  • Loading branch information
houbonan committed Dec 26, 2024
1 parent 369c352 commit 0d6a87b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2776,6 +2776,7 @@ public void readEntryFailed(ManagedLedgerException exception,
if (exception instanceof ManagedLedgerException.LedgerNotExistException) {
results.completeExceptionally(
new RestException(Status.NOT_FOUND, "Message id not found"));
return;
}
results.completeExceptionally(new RestException(exception));
}
Expand Down

0 comments on commit 0d6a87b

Please sign in to comment.