Skip to content

Commit

Permalink
Improve round robin error message
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Dec 10, 2024
1 parent 2a4cd42 commit fad797f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/src/load-balancer-round-robin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit fad797f

Please sign in to comment.