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-17 22:38:39 +08:00
co-authored by Claude Opus 5
parent 62adf7f937
commit ea9df52bc3
@@ -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