[checkupdates] Ignore broken submodule

In case the app repository has a broken submodule, checkupdates failed
and did not search for any version updates. Ignoring the error let's us
at least find new version in the main repo (which is probably the right
place anyhow) and thus an improvement.
This commit is contained in:
Jochen Sprickerhof 2021-06-25 09:08:54 +02:00
parent ecc21489d4
commit 674786db96
2 changed files with 46 additions and 0 deletions

View file

@ -373,6 +373,8 @@ def try_init_submodules(app, last_build, vcs):
vcs.initsubmodules()
except NoSubmodulesException:
logging.info("No submodules present for {}".format(_getappname(app)))
except VCSException:
logging.info("submodule broken for {}".format(_getappname(app)))
# Return all directories under startdir that contain any of the manifest