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

Added TypeError to the list of caught exceptions in fetachart._fetch_… #1556

Merged
merged 1 commit into from Aug 1, 2015

Conversation

LordSputnik
Copy link
Collaborator

…image

requests/urllib3 is throwing an exception due to an internal problem triggered
by some sort of timeout. This change catches the TypeError so that beets
reports "error fetching art" instead of crashing when this happens.

This fixes #1555

…image

requests/urllib3 is throwing an exception due to an internal problem triggered
by some sort of timeout. This change catches the TypeError so that beets
reports "error fetching art" instead of crashing when this happens.
@sampsyo
Copy link
Member

sampsyo commented Aug 1, 2015

Looks good. Thanks for working around that; I'll merge this now.

@sampsyo sampsyo merged commit 4818264 into master Aug 1, 2015
sampsyo added a commit that referenced this pull request Aug 1, 2015
@sampsyo sampsyo deleted the urllib-str-workaround branch October 19, 2015 18:49
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.

__str__ crash due to timeout in fetchart plugin
2 participants