You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If stream now emit an error we will get an unhandled exception even though we have stream.on('error', ...) because we didn't add an error listener to the compat request which will throw like this:
Thanks for the report @ronag. Are you using 8.4 or a build from master? This was patched recently to no longer forward the errors to request and response.
In general, you might find it a more pleasant experience working with a build from master which has a lot of bug fixes for http2. Let me know if you need any help or have any questions for that.
Consider the following:
If stream now emit an error we will get an unhandled exception even though we have
stream.on('error', ...)
because we didn't add an error listener to the compat request which will throw like this:Causing a crash like this:
The text was updated successfully, but these errors were encountered: