Drop the redundant HTTP error class from the retry catch

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-14 20:41:16 +08:00
co-authored by Claude Opus 5
parent 2e192c481a
commit 3a5271a4d3
@@ -647,8 +647,7 @@ class ArtistFetcher:
with urllib.request.urlopen(
request, timeout=timeout) as response:
return response.read()
except (urllib.error.HTTPError, TimeoutError,
urllib.error.URLError) as error:
except (TimeoutError, urllib.error.URLError) as error:
reason = self.__retry_reason(error)
if reason is None:
raise