Skip to content

chore: the gorums codec should return more informative error messages #213

@meling

Description

@meling

See issue #212. The error message is useless:

rpc error: code = Internal desc = grpc: failed to unmarshal the received message: proto: not found

It comes from this line:

desc, err := protoregistry.GlobalFiles.FindDescriptorByName(protoreflect.FullName(msg.Metadata.GetMethod()))

We should add a more informative error message; I have code ready to go (will open a PR tomorrow).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions