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

Expose Error Status To Caller #1682

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zhixinwen
Copy link

@zhixinwen zhixinwen commented Apr 11, 2024

Motivation

We were seeing a high rate Missing request message error on server side, but we do not know what exactly was going on.
I think the error message may be hidden away in poll_data.
I am not sure why tonic choose to drop the error message instead of returning it to the user.
Can people familiar with the code explain why it was done in the current way?

Solution

return the error to users, so the error is more meaningful

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.

None yet

1 participant