X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/75c5665e089279f9de1a38b31e03f9736ecdc17e..a8a47f7846509d22b123f4ab9cfdd7e65ac0d32e:/fetch.py diff --git a/fetch.py b/fetch.py index 1d20701..b99938c 100644 --- a/fetch.py +++ b/fetch.py @@ -89,7 +89,7 @@ class FakeFetcher(Fetcher): def fetch(self, url: str) -> bytes: self._fetch_count += 1 if url not in self._resources: - raise requests.HTTPError("URL not found") + raise requests.HTTPError("URL not found", url) return self._resources[url] def request_count(self) -> int: