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

updates the grpcui client to show error details on response tab #162

Merged
merged 1 commit into from Feb 10, 2022

Conversation

jhump
Copy link
Contributor

@jhump jhump commented Feb 10, 2022

This addresses a TODO in the code to actually show the error details in the client UI. They were correctly processed by the server and sent to the client, but the client was doing nothing with that data.

Also includes a new endpoint on the testsvr, so it's easy to invoke an RPC that returns an error with details (for testing).

Fixes #135.

While refactoring the response rendering, I also moved the line that captures the duration of the call, so that it no longer includes any other response processing or rendering time.

Fixes #116.

@jhump
Copy link
Contributor Author

jhump commented Feb 10, 2022

Example of the response tab when an error has details:
image

@jhump jhump merged commit 014444e into master Feb 10, 2022
@jhump jhump deleted the jh/error-details branch February 10, 2022 19:59
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

Successfully merging this pull request may close these issues.

[Feature Request] Process common / known error details Time on history tab seems to include rendering time
1 participant