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 aa700a0 commit 470a881
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ private <T> boolean mutate(HashMultiset<T> gathered, Optional<T> futureSailor, D
RingCommunications.Destination<Member, DhtService> destination, String action) {
if (futureSailor.isEmpty()) {
log.debug("Failed {}: {} tally: {} from: {} on: {}", action, identifier, tally.get(),
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 470a881

Please sign in to comment.