diff --git a/locales/en.json b/locales/en.json index b792081a2..1c56e46d3 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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 ...", diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index c00a5cb41..7a0075387 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -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())