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

Better error messages #86

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Better error messages #86

merged 4 commits into from
Aug 1, 2024

Conversation

mayuki
Copy link
Member

@mayuki mayuki commented Aug 1, 2024

This fixes an issue where error messages were unclear after updating hyper.
In addition, the error code name will be included in the message regarding HTTP/2 error codes.

Before

client error (Connect)
The HTTP/2 server reset the stream. HTTP/2 error code (0xd).

After

client error (Connect): dns error: No such host is known. (os error 11001)
The HTTP/2 server closed the connection or reset the stream. HTTP/2 error code 'HTTP_1_1_REQUIRED' (0xd).

@mayuki mayuki force-pushed the feature/BetterErrorMessage branch from 5e3e1e4 to c998fba Compare August 1, 2024 09:01
@mayuki mayuki merged commit 53576df into main Aug 1, 2024
@mayuki mayuki deleted the feature/BetterErrorMessage branch August 1, 2024 09:10
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.

1 participant