grpc-js: Trace before call to LB policy picker

This commit is contained in:
Michael Lumish 2023-03-06 15:10:29 -08:00
parent 8a22f5f2a4
commit c525025f06
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ export class LoadBalancingCall implements Call {
if (!this.metadata) {
throw new Error('doPick called before start');
}
this.trace('Pick called')
const pickResult = this.channel.doPick(this.metadata, this.callConfig.pickInformation);
const subchannelString = pickResult.subchannel ?
'(' + pickResult.subchannel.getChannelzRef().id + ') ' + pickResult.subchannel.getAddress() :