We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae44a02 commit 5354abdCopy full SHA for 5354abd
custom_components/waste_collection_schedule/waste_collection_schedule/source/umweltverbaende_at.py
@@ -6,6 +6,7 @@
6
from bs4 import BeautifulSoup
7
from waste_collection_schedule import Collection # type: ignore[attr-defined]
8
from waste_collection_schedule.exceptions import (
9
+ SourceArgumentException,
10
SourceArgumentNotFoundWithSuggestions,
11
SourceArgumentRequiredWithSuggestions,
12
)
@@ -705,6 +706,8 @@ def fetch_new(self) -> list[Collection]:
705
706
):
707
try:
708
return self._fetch_new_from_list(soup)
709
+ except SourceArgumentException as e:
710
+ raise e
711
except Exception:
712
raise Exception(
713
f"Could not find nonce for page {self._district_url}fuer-die-bevoelkerung/abholtermine/"
0 commit comments