Skip to content

fix: Catch all response.shutdown exceptions #45

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

keelerm84
Copy link
Member

The response shutdown might trigger an exception for a number of
reasons from within the urllib3 library. Since this is a shutdown
procedure, and there isn't a way to recover at that point, we are going
to simply catch all possible exceptions and continue to shutdown as
gracefully as possible.

The response shutdown might trigger an exception for a number of
reasons from within the urllib3 library. Since this is a shutdown
procedure, and there isn't a way to recover at that point, we are going
to simply catch all possible exceptions and continue to shutdown as
gracefully as possible.
@keelerm84 keelerm84 requested a review from a team as a code owner May 29, 2025 17:41
@keelerm84 keelerm84 merged commit cd7262e into main May 29, 2025
9 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-1285/shutdown-exception branch May 29, 2025 17:54
keelerm84 pushed a commit that referenced this pull request May 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.2.4](1.2.3...1.2.4)
(2025-05-29)


### Bug Fixes

* Catch all response.shutdown exceptions
([#45](#45))
([cd7262e](cd7262e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants