From fad797fd923d74416e58146dcb4b85740b9a4ab0 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 10 Dec 2024 15:27:49 -0500 Subject: [PATCH] Improve round robin error message --- packages/grpc-js/src/load-balancer-round-robin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-js/src/load-balancer-round-robin.ts b/packages/grpc-js/src/load-balancer-round-robin.ts index 240e5c610..1b1d97fc8 100644 --- a/packages/grpc-js/src/load-balancer-round-robin.ts +++ b/packages/grpc-js/src/load-balancer-round-robin.ts @@ -164,7 +164,7 @@ export class RoundRobinLoadBalancer implements LoadBalancer { } else if ( this.countChildrenWithState(ConnectivityState.TRANSIENT_FAILURE) > 0 ) { - const errorMessage = `No connection established. Last error: ${this.lastError}`; + const errorMessage = `round_robin: No connection established. Last error: ${this.lastError}`; this.updateState( ConnectivityState.TRANSIENT_FAILURE, new UnavailablePicker({