Skip to content

Commit

Permalink
Merge pull request #2470 from murgatroid99/grpc-js_transport_trace_fix
Browse files Browse the repository at this point in the history
grpc-js: Implement trace function in Http2SubchannelConnector
  • Loading branch information
murgatroid99 committed Jun 20, 2023
2 parents 25e2845 + 87b5466 commit 09d74ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/grpc-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@grpc/grpc-js",
"version": "1.8.15",
"version": "1.8.16",
"description": "gRPC Library for Node - pure JS implementation",
"homepage": "https://grpc.io/",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-js/src/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
private isShutdown = false;
constructor(private channelTarget: GrpcUri) {}
private trace(text: string) {

logging.trace(LogVerbosity.DEBUG, TRACER_NAME, this.channelTarget + ' ' + text);
}
private createSession(address: SubchannelAddress, credentials: ChannelCredentials, options: ChannelOptions, proxyConnectionResult: ProxyConnectionResult): Promise<Http2Transport> {
if (this.isShutdown) {
Expand Down

0 comments on commit 09d74ca

Please sign in to comment.