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

Update context from callError #268

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

mickeyreiss
Copy link
Contributor

Assuming #267 is an valid bug report, this PR provides a fix to protoc-gen-twirp, so that the context returned by Error server hooks (on write errors) is subsequently passed into ResponseSent.

Fixes #267.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@marioizquierdo
Copy link
Contributor

Looks good to me. We should include this on the next release, thanks!

@mickeyreiss
Copy link
Contributor Author

@marioizquierdo Is there anything left to do on my end, in order to get this landed?

@marioizquierdo
Copy link
Contributor

Nah, you are good. I will help get this merged sometime this week.

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.

ServerHooks Context bug: Context from Error is not passed to ResponseSent
2 participants