1
0
Fork 0

Return None when catching an exception

This commit is contained in:
Félix Piédallu 2024-08-19 17:26:08 +02:00 committed by Salamandar
parent 9bedbd5645
commit 6be9d2ff17

View file

@ -63,6 +63,7 @@ def __build_app_dict(data) -> Optional[tuple[str, dict[str, Any]]]:
return name, build_app_dict(name, info) return name, build_app_dict(name, info)
except Exception as err: except Exception as err:
logging.error("[List builder] Error while updating %s: %s", name, err) logging.error("[List builder] Error while updating %s: %s", name, err)
return None
def build_base_catalog(nproc: int): def build_base_catalog(nproc: int):