🐛 Handle a case when user enters invalid app for rebuilding

This commit is contained in:
Nikhil Badyal
2022-11-11 23:20:29 +05:30
parent e5c0702c34
commit f42381b37c
5 changed files with 57 additions and 30 deletions
+6
View File
@@ -31,3 +31,9 @@ def update_changelog(name: str, response: Dict[str, str]) -> None:
)
file1.write(change_log)
file1.close()
class AppNotFound(ValueError):
"""Not a valid Revanced App."""
pass