diff --git a/funkwhale_network/worker.py b/funkwhale_network/worker.py index 4d93782ac1f7d72d4f20acd07b711407aacd433c..8fc2f20a610e5f3db002576865fef87cb5936f9c 100644 --- a/funkwhale_network/worker.py +++ b/funkwhale_network/worker.py @@ -1,3 +1,6 @@ +import logging +import traceback + from aiohttp import ClientSession from arq.cron import cron @@ -17,7 +20,11 @@ async def update_all(ctx): for check in domains: domain = check["name"] print(f"Checking domain {domain}") - await poll(ctx, domain) + try: + await poll(ctx, domain) + except Exception as e: + print("... couldn't load all information") + logging.error(traceback.format_exc()) async def startup(ctx):