From 466f33dd3cc706b3073317f1b2bd59179258997d Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 14 Mar 2026 13:33:50 -0400 Subject: [PATCH] [foods] Fix bug in exception handling --- vrobbler/apps/foods/sources/rscraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/foods/sources/rscraper.py b/vrobbler/apps/foods/sources/rscraper.py index d4283db..48d5511 100644 --- a/vrobbler/apps/foods/sources/rscraper.py +++ b/vrobbler/apps/foods/sources/rscraper.py @@ -51,7 +51,7 @@ class RecipeScraperService: def scrape_url(self, url: str): response = self.session.get(url) if response.status_code != 200: - raise Exception("Recipe website returned non 200 response", e) + raise Exception("Recipe website returned non 200 response") return self.scrape(response.text, org_url=url) @classmethod