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

fix: expand the list of exceptions on which we should retry #195

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

drnextgis
Copy link
Contributor

Description

>>> from aiohttp import ClientResponseError, ClientError, ServerDisconnectedError
>>> issubclass(ClientResponseError, ClientError)
True
>>> issubclass(ServerDisconnectedError, ClientError)
True
>>> issubclass(ServerDisconnectedError, ClientResponseError)
False

Checklist

  • Add tests
  • Add docs
  • Update CHANGELOG

@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.01%. Comparing base (170bbc3) to head (cd91a40).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #195   +/-   ##
=======================================
  Coverage   85.01%   85.01%           
=======================================
  Files          16       16           
  Lines        1048     1048           
=======================================
  Hits          891      891           
  Misses        157      157           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gadomski gadomski merged commit c4acd5c into stac-utils:main Jul 18, 2024
9 checks passed
@drnextgis drnextgis deleted the http-retry-exc branch July 18, 2024 19:52
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.

3 participants