[videogames] Fix bug in scraper

This commit is contained in:
2026-03-22 21:13:45 -04:00
parent 1a2c39b4d3
commit 9f3b7b0361

View File

@ -31,7 +31,7 @@ def scrape_game_name_from_adb(name: str) -> str:
try:
resp = requests.get(url, headers=headers)
except requests.ConnectionError:
raise GameNotFound(f"Lookup failed with code {resp.status_code}")
raise GameNotFound("Lookup failed with ConnectionError")
if not resp.ok:
raise GameNotFound(f"Lookup failed with code {resp.status_code}")