Skip to content

Commit

Permalink
handle potential npe
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Jun 2, 2024
1 parent 470a881 commit acf994d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ private <T> boolean read(CompletableFuture<T> result, HashMultiset<T> gathered,
RingCommunications.Destination<Member, DhtService> destination, String action, T empty) {
if (futureSailor.isEmpty()) {
log.debug("Failed {}: {} tally: {} from: {} on: {}", action, identifier, tally,
destination.member().getId(), member.getId());
destination.member() == null ? "<null>" : destination.member().getId(), member.getId());
return !isTimedOut.get();
}
T content = futureSailor.get();
Expand Down

0 comments on commit acf994d

Please sign in to comment.