mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-06 02:45:30 +01:00
raise on downtime of appcenter
This commit is contained in:
parent
6f2ec3cb38
commit
9b1fd99e49
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ async def get_download_link_of_latest_appcenter_release(parameterized_url: str,
|
|||
latest_id = res_json[0]['id']
|
||||
version = res_json[0]['version']
|
||||
else:
|
||||
return
|
||||
raise RuntimeError('AppCenter is down as always')
|
||||
|
||||
logger.info(f'The latest appcenter release is {version} ({parameterized_url})')
|
||||
|
||||
|
@ -118,7 +118,7 @@ async def get_download_link_of_latest_appcenter_release(parameterized_url: str,
|
|||
if res_json:
|
||||
return res_json['download_url']
|
||||
|
||||
return None
|
||||
raise RuntimeError('AppCenter is down as always')
|
||||
|
||||
|
||||
async def track_additional_files(
|
||||
|
|
Loading…
Reference in a new issue