From 9f3b7b0361f33eca776a380db76f5a9a4b4126f0 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sun, 22 Mar 2026 21:13:45 -0400 Subject: [PATCH] [videogames] Fix bug in scraper --- vrobbler/apps/videogames/scrapers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")