Add update check exception handling

This commit is contained in:
yoshiko2
2022-03-19 17:56:54 +08:00
parent d161890994
commit 02b52df234

View File

@@ -524,7 +524,10 @@ def main():
)
if conf.update_check():
check_update(version)
try:
check_update(version)
except Exception as e:
print('[-]Update check failed!',e)
create_failed_folder(conf.failed_folder())