🎨 Updated error message (#345)

This commit is contained in:
Nikhil Badyal
2023-08-28 18:13:18 +05:30
committed by GitHub
parent 10d91cc0f2
commit dc14703b64
4 changed files with 35 additions and 20 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ from loguru import logger
from src.config import RevancedConfig
from src.downloader.sources import apk_sources
from src.exceptions import DownloadError, PatchingFailedError, UnknownError
from src.exceptions import BuilderError, DownloadError, PatchingFailedError
from src.utils import slugify
@@ -151,7 +151,7 @@ class APP(object):
for resource_name, future in futures.items():
try:
self.resource[resource_name] = future.result()
except UnknownError as e:
except BuilderError as e:
raise PatchingFailedError(e) from e
@staticmethod