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

Interceptors should return a correct GRPCStatus() code #8

Merged
merged 2 commits into from
Dec 1, 2018

Conversation

platinummonkey
Copy link
Owner

This allows us to use a correct status code wrapper for interceptors.

Prior to this change we were sending back a generic error, which results to UNKNOWN. @Daniel-B-Smith pointed this out, this now by default will return RESOURCE_EXHAUSTED, or optionally provide a configuration setting for your own code resolver and error message.

for interceptors

by default it will return RESOURCE_EXHAUSTED
@coveralls
Copy link

coveralls commented Dec 1, 2018

Pull Request Test Coverage Report for Build 74

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 90.037%

Totals Coverage Status
Change from base Build 72: 0.0%
Covered Lines: 1464
Relevant Lines: 1626

💛 - Coveralls

@platinummonkey platinummonkey merged commit 6edf818 into master Dec 1, 2018
@platinummonkey platinummonkey deleted the wrap-grpc-with-correct-status branch December 1, 2018 13:54
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

2 participants