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

Wrap urllib3's SSLError as requests' SSLError #6057

Merged
merged 1 commit into from Feb 5, 2022

Conversation

nateprewitt
Copy link
Member

This should handle the issue raised in #6056 by wrapping the SSLError from urllib3 (urllib3.exception.SSLError) with ours (requests.exception.SSLError). Test was added to ensure we're doing the expected exception translation for everything we remap on streamed responses.

Copy link
Member

@sethmlarson sethmlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nateprewitt nateprewitt merged commit 95f4567 into psf:main Feb 5, 2022
@nateprewitt nateprewitt deleted the wrap_sslerror branch February 5, 2022 18:56
@nateprewitt nateprewitt added this to the 2.28.0 milestone Apr 7, 2022
@nateprewitt nateprewitt mentioned this pull request Jun 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants