Skip to content

Commit

Permalink
[fix][admin] Fix exception thrown in getMessageId method (#23784)
Browse files Browse the repository at this point in the history
Co-authored-by: houbonan <[email protected]>
(cherry picked from commit 1f7a79f)
  • Loading branch information
danpi authored and lhotari committed Jan 3, 2025
1 parent 8c4400f commit 38c9892
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2764,6 +2764,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 38c9892

Please sign in to comment.