mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🎨 raise context of exception [skip ci]
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ class APP(object):
|
|||||||
try:
|
try:
|
||||||
self.resource[resource_name] = future.result()
|
self.resource[resource_name] = future.result()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise PatcherDownloadFailed(f"An exception occurred: {e}")
|
raise PatcherDownloadFailed(f"An exception occurred: {e}") from e
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def generate_filename(url: str) -> str:
|
def generate_filename(url: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user