mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
Use new format for logging exceptions - store/repository.py (#3212)
This commit is contained in:
parent
8c59e6d05a
commit
4b0278fee8
@ -112,7 +112,6 @@ class Repository(CoreSysAttributes):
|
|||||||
async def remove(self) -> None:
|
async def remove(self) -> None:
|
||||||
"""Remove add-on repository."""
|
"""Remove add-on repository."""
|
||||||
if self.type != StoreType.GIT:
|
if self.type != StoreType.GIT:
|
||||||
_LOGGER.error("Can't remove built-in repositories!")
|
raise StoreError("Can't remove built-in repositories!", _LOGGER.error)
|
||||||
raise StoreError()
|
|
||||||
|
|
||||||
await self.git.remove()
|
await self.git.remove()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user