mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Updated error handling (#348)
This commit is contained in:
+2
-1
@@ -152,7 +152,8 @@ class APP(object):
|
||||
try:
|
||||
self.resource[resource_name] = future.result()
|
||||
except BuilderError as e:
|
||||
raise PatchingFailedError(e) from e
|
||||
msg = "Failed to download resource."
|
||||
raise PatchingFailedError(msg) from e
|
||||
|
||||
@staticmethod
|
||||
def generate_filename(url: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user