Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve output for errors #33

Open
pihme opened this issue Aug 10, 2022 · 0 comments
Open

Improve output for errors #33

pihme opened this issue Aug 10, 2022 · 0 comments

Comments

@pihme
Copy link
Collaborator

pihme commented Aug 10, 2022

Currently the output for errors looks somethings like this:

status: Unavailable, message: "Expected to execute command on partition 0, but either it does not exist, or the gateway is not yet aware of it", details: [8, 14, 18, 111, 69, 120, 112, 101, 99, 116, 101, 100, 32, 116, 111, 32, 101, 120, 101, 99, 117, 116, 101, 32, 99, 111, 109, 109, 97, 110, 100, 32, 111, 110, 32, 112, 97, 114, 116, 105, 116, 105, 111, 110, 32, 48, 44, 32, 98, 117, 116, 32, 101, 105, 116, 104, 101, 114, 32, 105, 116, 32, 100, 111, 101, 115, 32, 110, 111, 116, 32, 101, 120, 105, 115, 116, 44, 32, 111, 114, 32, 116, 104, 101, 32, 103, 97, 116, 101, 119, 97, 121, 32, 105, 115, 32, 110, 111, 116, 32, 121, 101, 116, 32, 97, 119, 97, 114, 101, 32, 111, 102, 32, 105, 116], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Only status and message are helpful. Maybe metadata at some point if it helps troubleshooting connection and authentication errors.

@pihme pihme changed the title Improve output Improve output for errors Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants