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

HttpUser: Unpack known exceptions #1855

Merged
merged 4 commits into from
Aug 19, 2021
Merged

Conversation

cyberw
Copy link
Collaborator

@cyberw cyberw commented Aug 18, 2021

Changes something like

ConnectionError(MaxRetryError("HTTPSConnectionPool(host='asdf.se', port=345): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10f1d0d60>: Failed to establish a new connection: [Errno 61] Connection refused'))"))

Into:

ConnectionRefusedError(61, 'Connection refused')

Changes something like

ConnectionError(MaxRetryError("HTTPSConnectionPool(host='asdf.se', port=345): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x10f1d0d60>: Failed to establish a new connection: [Errno 61] Connection refused'))"))

Into:

ConnectionRefusedError(61, 'Connection refused')
@cyberw cyberw force-pushed the HttpUser-unpack-known-exceptions branch from a02f82a to ce84822 Compare August 18, 2021 12:47
@cyberw cyberw merged commit 88b61f7 into master Aug 19, 2021
@cyberw cyberw deleted the HttpUser-unpack-known-exceptions branch March 22, 2022 10:18
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.

None yet

1 participant