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

status: add error source in more cases #762

Closed
wants to merge 2 commits into from
Closed

status: add error source in more cases #762

wants to merge 2 commits into from

Conversation

vbfox
Copy link
Contributor

@vbfox vbfox commented Sep 12, 2021

Motivation

While debugging something else I remarked that I received "Unknown" errors from tonic without any source specified leading to a bit more complex debugging.

Solution

In the cases where a source is passed in that has a type that can be used as-is for an error source it's kept in the source field of the Status structure.

@LucioFranco
Copy link
Member

Fixed in #799, looks like we took the same approach :)

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.

2 participants