🎨 raise context of exception [skip ci]

This commit is contained in:
Nikhil Badyal
2023-08-08 10:47:55 +05:30
parent 0f6f91c360
commit d161d9243c
+1 -1
View File
@@ -94,7 +94,7 @@ class APP(object):
try:
self.resource[resource_name] = future.result()
except Exception as e:
raise PatcherDownloadFailed(f"An exception occurred: {e}")
raise PatcherDownloadFailed(f"An exception occurred: {e}") from e
@staticmethod
def generate_filename(url: str) -> str: