From 6be9d2ff17b56e0f9b289fb5495e93cb3d220112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 19 Aug 2024 17:26:08 +0200 Subject: [PATCH] Return None when catching an exception --- list_builder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/list_builder.py b/list_builder.py index ecea28a..536bf88 100755 --- a/list_builder.py +++ b/list_builder.py @@ -63,6 +63,7 @@ def __build_app_dict(data) -> Optional[tuple[str, dict[str, Any]]]: return name, build_app_dict(name, info) except Exception as err: logging.error("[List builder] Error while updating %s: %s", name, err) + return None def build_base_catalog(nproc: int):