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

grpc-js: Propagate internal stream errors from the http2 module #1658

Conversation

murgatroid99
Copy link
Member

This should help us understand the causes of some of those errors.

The diff here is large because of an indentation change. The actual change to the stream.on('close', ...) handler moves the body into process.nextTick to delay processing until after the error event is handled, and adds a branch in the INTERNAL error case to handle error messages from the error event.

@nicolasnoble
Copy link
Member

Hint: when checking the "hide whitespace change" box in github, the diff is much more simple to look at :-)

image

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