From 327e3e9bbcc439c45218dcbbb66251a978c6287a Mon Sep 17 00:00:00 2001 From: Egor Svitin Date: Tue, 21 Feb 2023 13:40:34 +0300 Subject: [PATCH] add exceprions --- update.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index c8cf52f..f22c4bf 100644 --- a/update.py +++ b/update.py @@ -43,8 +43,11 @@ class Updater: return for source in config.get_sources_list(): - print("Start source update" + source) - self.parse_source(source) + try: + print("Start source update" + source) + self.parse_source(source) + except: + print(source + " has error") updater = Updater()