Catch assertion error on git pull (#3651)

This commit is contained in:
Mike Degatano 2022-05-20 05:40:33 -04:00 committed by GitHub
parent 8c7c2fca28
commit 5bc7255756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ class GitRepo(CoreSysAttributes):
git.NoSuchPathError,
git.GitCommandError,
ValueError,
AssertionError,
) as err:
_LOGGER.error("Can't update %s repo: %s.", self.url, err)
self.sys_resolution.create_issue(