summaryrefslogtreecommitdiff
path: root/ATRI/utils/check_update.py
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/utils/check_update.py')
-rw-r--r--ATRI/utils/check_update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/utils/check_update.py b/ATRI/utils/check_update.py
index a8575ab..16b61ad 100644
--- a/ATRI/utils/check_update.py
+++ b/ATRI/utils/check_update.py
@@ -22,7 +22,7 @@ class CheckUpdate:
async def show_latest_commit_info(cls) -> str:
try:
data = await cls._get_commits_info()
- except RequestError:
+ except Exception:
raise RequestError("Getting commit info timeout...")
try:
@@ -41,7 +41,7 @@ class CheckUpdate:
async def show_latest_version(cls) -> tuple:
try:
data = await cls._get_release_info()
- except RequestError:
+ except Exception:
raise RequestError("Getting release list timeout...")
try: