From b5894c45daf1d863d289b2d48b3eb07c4c49a84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 4 Apr 2018 23:44:11 +0200 Subject: [PATCH] chg: Move on if there is an exception on fetching lists --- bin/fetcher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/fetcher.py b/bin/fetcher.py index 53eb57e..506343f 100755 --- a/bin/fetcher.py +++ b/bin/fetcher.py @@ -30,7 +30,8 @@ class ModulesManager(AbstractManager): loop = asyncio.get_event_loop() try: loop.run_until_complete(asyncio.gather( - *[module.fetch_list() for module in self.modules if module.fetcher]) + *[module.fetch_list() for module in self.modules if module.fetcher], + return_exceptions=True) ) except aiohttp.client_exceptions.ClientConnectorError as e: self.logger.critical('Exception while fetching lists: {}'.format(e))