Skip to content

Commit

Permalink
Include partitioning handle description in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Jan 12, 2024
1 parent 6d86004 commit 5e78efe
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ public FaultTolerantPartitioningScheme get(PartitioningHandle handle, Optional<I
if (partitionCount.isPresent()) {
verify(
result.getPartitionCount() == partitionCount.get(),
"expected partitionCount to be %s but got %s",
"expected partitionCount to be %s but got %s; handle=%s",
partitionCount.get(),
result.getPartitionCount());
result.getPartitionCount(),
handle);
}
cache.put(cacheKey, result);
}
Expand Down

0 comments on commit 5e78efe

Please sign in to comment.