[mod] remove silent exception in toos_update

This commit is contained in:
Laurent Peuch 2019-07-30 01:18:14 +02:00
parent 933bf99052
commit 6b285bae88
2 changed files with 3 additions and 3 deletions

View file

@ -539,6 +539,7 @@
"system_upgraded": "The system has been upgraded",
"system_username_exists": "Username already exists in the system users",
"this_action_broke_dpkg": "This action broke dpkg/apt (the system package managers)... You can try to solve this issue by connecting through SSH and running `sudo dpkg --configure -a`.",
"tools_update_failed_to_app_fetchlit": "Failed to update YunoHost's apps because: {error}",
"tools_upgrade_at_least_one": "Please specify --apps OR --system",
"tools_upgrade_cant_both": "Cannot upgrade both system and apps at the same time",
"tools_upgrade_cant_hold_critical_packages": "Unable to hold critical packages ...",

View file

@ -520,9 +520,8 @@ def tools_update(apps=False, system=False):
logger.info(m18n.n('updating_app_lists'))
try:
app_fetchlist()
except YunohostError:
# FIXME : silent exception !?
pass
except YunohostError as e:
logger.error('tools_update_failed_to_app_fetchlit', error=e)
upgradable_apps = list(_list_upgradable_apps())