diff --git a/src/backend/backend.py b/src/backend/backend.py index a568028b..a540326b 100644 --- a/src/backend/backend.py +++ b/src/backend/backend.py @@ -553,7 +553,13 @@ class Backend: ) api_list = "https://publiclist.anchel.nl/publiclist.json" - response = await session.get(api_list) + try: + response = await session.get(api_list) + except: + await session.close() + print("Unable to fetch", api_list) + return + coros = [] for server in (await response.json()):