Skip to content

Commit d01ff79

Browse files
b0b3rtmurgatroid99
andauthored
Update error message for invalid default_compression_algorithm
Co-authored-by: Michael Lumish <[email protected]>
1 parent 25a1806 commit d01ff79

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
@@ -189,7 +189,7 @@ export class CompressionFilter extends BaseFilter implements Filter {
189189
this.defaultCompressionAlgorithm = CompressionAlgorithms[compressionAlgorithmKey];
190190
this.sendCompression = getCompressionHandler(this.defaultCompressionAlgorithm);
191191
} else {
192-
logging.log(LogVerbosity.ERROR, 'Invalid value provided for grpc.default_compression_algorithm option');
192+
logging.log(LogVerbosity.ERROR, `Invalid value provided for grpc.default_compression_algorithm option: ${compressionAlgorithmKey}`);
193193
}
194194
}
195195

0 commit comments

Comments
 (0)