chg: Move on if there is an exception on fetching lists
parent
e00dfc3e3f
commit
b5894c45da
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue