👷 Updated error handling (#348)

This commit is contained in:
Nikhil Badyal
2023-08-28 20:47:25 +05:30
committed by GitHub
parent 96e9fa3647
commit 161b71a132
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -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: