diff --git a/vrobbler/apps/videogames/scrapers.py b/vrobbler/apps/videogames/scrapers.py index 394d44e..57bb01f 100644 --- a/vrobbler/apps/videogames/scrapers.py +++ b/vrobbler/apps/videogames/scrapers.py @@ -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}")