mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
Return None when catching an exception
This commit is contained in:
parent
1a528d55a5
commit
917a1f1a6e
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…
Add table
Reference in a new issue