Skip to content

Commit 53a2347

Browse files
committed
only attempt to use custom compression filter when option value is provided
2 parents 6ba0081 + d01ff79 commit 53a2347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/compression-filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class CompressionFilter extends BaseFilter implements Filter {
190190
this.defaultCompressionAlgorithm = CompressionAlgorithms[compressionAlgorithmKey];
191191
this.sendCompression = getCompressionHandler(this.defaultCompressionAlgorithm);
192192
} else {
193-
logging.log(LogVerbosity.ERROR, 'Invalid value provided for grpc.default_compression_algorithm option');
193+
logging.log(LogVerbosity.ERROR, `Invalid value provided for grpc.default_compression_algorithm option: ${compressionAlgorithmKey}`);
194194
}
195195
}
196196
}

0 commit comments

Comments
 (0)