Skip to content

Commit

Permalink
Remove gRPC error message from envelope error (#603)
Browse files Browse the repository at this point in the history
Tiny fix to generalized the error message.
  • Loading branch information
emcfarlane authored Oct 12, 2023
1 parent 4f411c4 commit ca44397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envelope.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ca44397

Please sign in to comment.