mirror of
https://github.com/beetbox/beets.git
synced 2026-08-31 08:10:41 -04:00
discogs: handle JSONDecodeError
This commit is contained in:
@@ -54,6 +54,7 @@ CONNECTION_ERRORS = (
|
||||
http.client.HTTPException,
|
||||
ValueError, # JSON decoding raises a ValueError.
|
||||
DiscogsAPIError,
|
||||
json.JSONDecodeError,
|
||||
)
|
||||
COUNTRY_OVERRIDES = {
|
||||
"Russia": "RU", # pycountry: Russian Federation
|
||||
|
||||
Reference in New Issue
Block a user