Skip to content

Commit

Permalink
[improve][broker] log exception in MessageDeduplication#takeSnapshot (a…
Browse files Browse the repository at this point in the history
…pache#22994)

Co-authored-by: fanjianye <[email protected]>
  • Loading branch information
TakaHiR07 and fanjianye authored Jul 9, 2024
1 parent 9626e7e commit b473a7b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ public void markDeleteComplete(Object ctx) {

@Override
public void markDeleteFailed(ManagedLedgerException exception, Object ctx) {
log.warn("[{}] Failed to store new deduplication snapshot at {}", topic.getName(), position);
log.warn("[{}] Failed to store new deduplication snapshot at {}",
topic.getName(), position, exception);
snapshotTaking.set(false);
future.completeExceptionally(exception);
}
Expand Down

0 comments on commit b473a7b

Please sign in to comment.