From ca443970a9bfbf2f9f3b8e3aaf24118f8951e0c2 Mon Sep 17 00:00:00 2001 From: Edward McFarlane <3036610+emcfarlane@users.noreply.github.com> Date: Thu, 12 Oct 2023 18:51:18 +0100 Subject: [PATCH] Remove gRPC error message from envelope error (#603) Tiny fix to generalized the error message. --- envelope.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envelope.go b/envelope.go index 2ebd66a9..b8136941 100644 --- a/envelope.go +++ b/envelope.go @@ -187,7 +187,7 @@ func (r *envelopeReader) Unmarshal(message any) *Error { if r.compressionPool == nil { return errorf( CodeInvalidArgument, - "protocol error: sent compressed message without Grpc-Encoding header", + "protocol error: sent compressed message without compression support", ) } decompressed := r.bufferPool.Get()