Skip to content

Commit fad797f

Browse files
committed
Improve round robin error message
1 parent 2a4cd42 commit fad797f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/load-balancer-round-robin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class RoundRobinLoadBalancer implements LoadBalancer {
164164
} else if (
165165
this.countChildrenWithState(ConnectivityState.TRANSIENT_FAILURE) > 0
166166
) {
167-
const errorMessage = `No connection established. Last error: ${this.lastError}`;
167+
const errorMessage = `round_robin: No connection established. Last error: ${this.lastError}`;
168168
this.updateState(
169169
ConnectivityState.TRANSIENT_FAILURE,
170170
new UnavailablePicker({

0 commit comments

Comments
 (0)