File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,14 @@ def get_album_info(self, result):
305
305
# Explicitly reload the `Release` fields, as they might not be yet
306
306
# present if the result is from a `discogs_client.search()`.
307
307
if not result .data .get ("artists" ):
308
- result .refresh ()
308
+ try :
309
+ result .refresh ()
310
+ except CONNECTION_ERRORS :
311
+ self ._log .debug (
312
+ "Connection error in release lookup: {0}" ,
313
+ result ,
314
+ )
315
+ return None
309
316
310
317
# Sanity check for required fields. The list of required fields is
311
318
# defined at Guideline 1.3.1.a, but in practice some releases might be
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ Bug fixes:
55
55
e.g. non latin characters as 盗作. If you want to keep the legacy behavior
56
56
set the config option ``spotify.search_query_ascii: yes ``.
57
57
:bug: `5699 `
58
+ * :doc: `plugins/discogs `: Beets will no longer crash if a release has been
59
+ deleted, and returns a 404.
58
60
59
61
For packagers:
60
62
You can’t perform that action at this time.
0 commit comments