mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Catch assertion error on git pull (#3651)
This commit is contained in:
parent
8c7c2fca28
commit
5bc7255756
@ -184,6 +184,7 @@ class GitRepo(CoreSysAttributes):
|
|||||||
git.NoSuchPathError,
|
git.NoSuchPathError,
|
||||||
git.GitCommandError,
|
git.GitCommandError,
|
||||||
ValueError,
|
ValueError,
|
||||||
|
AssertionError,
|
||||||
) as err:
|
) as err:
|
||||||
_LOGGER.error("Can't update %s repo: %s.", self.url, err)
|
_LOGGER.error("Can't update %s repo: %s.", self.url, err)
|
||||||
self.sys_resolution.create_issue(
|
self.sys_resolution.create_issue(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user