Suppress console error on failing auto updates

This commit is contained in:
Rikko 2022-08-17 00:00:04 +05:30
parent 3cb05c5120
commit 0b070f0900

View file

@ -128,10 +128,13 @@ class StartupTasks:
async def execute(self): async def execute(self):
self.setup_config() self.setup_config()
try:
await asyncio.gather( await asyncio.gather(
self.update_plugin_manager(), self.update_plugin_manager(),
self.update_plugins(), self.update_plugins(),
) )
except urllib.error.URLError:
pass
class Category: class Category: