mirror of https://github.com/grpc/grpc-node.git
Update error message for invalid default_compression_algorithm
Co-authored-by: Michael Lumish <mlumish@google.com>
This commit is contained in:
parent
25a1806e11
commit
d01ff794fc
|
@ -189,7 +189,7 @@ export class CompressionFilter extends BaseFilter implements Filter {
|
||||||
this.defaultCompressionAlgorithm = CompressionAlgorithms[compressionAlgorithmKey];
|
this.defaultCompressionAlgorithm = CompressionAlgorithms[compressionAlgorithmKey];
|
||||||
this.sendCompression = getCompressionHandler(this.defaultCompressionAlgorithm);
|
this.sendCompression = getCompressionHandler(this.defaultCompressionAlgorithm);
|
||||||
} else {
|
} else {
|
||||||
logging.log(LogVerbosity.ERROR, 'Invalid value provided for grpc.default_compression_algorithm option');
|
logging.log(LogVerbosity.ERROR, `Invalid value provided for grpc.default_compression_algorithm option: ${compressionAlgorithmKey}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue