mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🔊 Add url to print statement
This commit is contained in:
@@ -33,6 +33,11 @@ class ScrapingError(BuilderError):
|
|||||||
super().__init__(*args)
|
super().__init__(*args)
|
||||||
self.url = kwargs.get("url", None)
|
self.url = kwargs.get("url", None)
|
||||||
|
|
||||||
|
def __str__(self: Self) -> str:
|
||||||
|
"""Exception message."""
|
||||||
|
base_message = super().__str__()
|
||||||
|
return f"Message - {base_message} Url - {self.url}"
|
||||||
|
|
||||||
|
|
||||||
class APKMirrorIconScrapError(ScrapingError):
|
class APKMirrorIconScrapError(ScrapingError):
|
||||||
"""Exception raised when the icon cannot be scraped from apkmirror."""
|
"""Exception raised when the icon cannot be scraped from apkmirror."""
|
||||||
|
|||||||
Reference in New Issue
Block a user