Return None when catching an exception
This commit is contained in:
parent
9bedbd5645
commit
6be9d2ff17
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue