-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
socket.gaierror (dns error) is not converted to ClientConnectorError #2423
Comments
What about to extract fix for this from #2410 to separate pull request? |
Similarly, when connecting to an invalid UNIX socket file (e.g., |
According to unix connector internals, it is another issue. Please submit it separetelly. It requires another fix. |
Fixed by #2442, it is not in master yet |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
Long story short
socket.gaierror
should be converted toClientConnectorError
Expected behaviour
raises
ClientConnectorError
Actual behaviour
raises
socket.gaierror
(for threaded resolver) orOSError
(for aiodns resolver)Steps to reproduce
Your environment
MacOS 10.12.6
Python 3.6.2 from pyenv
The text was updated successfully, but these errors were encountered: