From 17ccc30d9bceba47d2989eaa39cb80a193c2c6e1 Mon Sep 17 00:00:00 2001 From: Jose Manuel Delicado Date: Wed, 15 Feb 2017 13:06:46 +0100 Subject: [PATCH] update/updater.py: removed ConnectionError to handle all possible exceptions --- src/update/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update/updater.py b/src/update/updater.py index 72375371..c0375d84 100644 --- a/src/update/updater.py +++ b/src/update/updater.py @@ -11,7 +11,7 @@ logger = logging.getLogger("updater") def do_update(endpoint=application.update_url): try: update.perform_update(endpoint=endpoint, current_version=application.version, app_name=application.name, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished) - except ConnectionError: + except: if endpoint == application.update_url: logger.error("Update failed! Using mirror URL...") return do_update(endpoint=application.mirror_update_url)