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

Broaden catch download error #321

Merged
merged 2 commits into from
Feb 13, 2023
Merged

Conversation

pandu-k
Copy link
Collaborator

@pandu-k pandu-k commented Feb 13, 2023

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    bug fix

  • What is the current behavior? (You can also link to an open issue here)
    some requests errors weren't caught, during image downloading (ReadTimeout)

  • What is the new behavior (if this is a feature change)?
    load_image_from_path() now excepts from RequestException, which superclasses all other request errors

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    no

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    in progress

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

@pandu-k pandu-k marked this pull request as ready for review February 13, 2023 11:37
@pandu-k pandu-k temporarily deployed to marqo-test-suite February 13, 2023 11:39 — with GitHub Actions Inactive
@pandu-k pandu-k merged commit 61483e3 into mainline Feb 13, 2023
@pandu-k pandu-k deleted the broaden_catch_download_error branch February 13, 2023 23:17
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