Skip to content

Commit

Permalink
chore: Adding unavailableZones to PartialList*Exception message (#1475)
Browse files Browse the repository at this point in the history
* chore: Adding unavailableZones to PartialList*Exception message

* Update PartialListInstancesException.java
  • Loading branch information
shantstepanian committed Oct 26, 2022
1 parent 0d9ff6a commit 515e7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@ public class PartialListClustersException extends RuntimeException {
*/
@InternalApi
public PartialListClustersException(List<String> unavailableZones, List<Cluster> clusters) {
super("Failed to list all clusters, some zones were unavailable");
super("Failed to list all clusters, some zones were unavailable: " + unavailableZones);
this.unavailableZones = ImmutableList.copyOf(unavailableZones);
this.clusters = ImmutableList.copyOf(clusters);
}
Expand Down
Expand Up @@ -31,7 +31,7 @@ public class PartialListInstancesException extends RuntimeException {
@InternalApi
public PartialListInstancesException(
@Nonnull List<String> unavailableZones, @Nonnull List<Instance> instances) {
super("Failed to list all instances, some zones were unavailable");
super("Failed to list all instances, some zones were unavailable: " + unavailableZones);

this.unavailableZones = ImmutableList.copyOf(unavailableZones);
this.instances = ImmutableList.copyOf(instances);
Expand Down

0 comments on commit 515e7fb

Please sign in to comment.