Skip to content

Commit

Permalink
resolved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
heesung-sn committed Mar 9, 2023
1 parent 02c9274 commit 0d88959
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ public CompletableFuture<Void> waitAsync(CompletableFuture<Void> eventPubFuture,
});
return new InFlightSplitRequest(decision, future);
}).future)
.exceptionally(e -> {
log.error("Failed to publish the bundle split event for bundle:{}. Skipping wait.", bundle);
counter.update(Failure, Unknown);
return null;
.whenComplete((__, ex) -> {
if (ex != null) {
log.error("Failed to publish the bundle split event for bundle:{}. Skipping wait.", bundle);
counter.update(Failure, Unknown);
}
});
}

Expand Down

0 comments on commit 0d88959

Please sign in to comment.