🎨 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
+3 -3
View File
@@ -5,7 +5,7 @@ from environs import Env
from loguru import logger
from src.config import RevancedConfig
from src.exceptions import AppNotFoundError, PatchesJsonLoadError, PatchingFailedError, UnknownError
from src.exceptions import AppNotFoundError, BuilderError, PatchesJsonLoadError, PatchingFailedError
from src.parser import Parser
from src.patches import Patches
from src.utils import check_java, extra_downloads
@@ -40,8 +40,8 @@ def main() -> None:
logger.exception("Patches.json not found")
except PatchingFailedError as e:
logger.exception(e)
except UnknownError as e:
logger.exception(f"Failed to build {app} because of {e}")
except BuilderError as e:
logger.exception(f"Failed to build {possible_app} because of {e}")
if __name__ == "__main__":