mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-22 16:46: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:
|
||||
"""Remove add-on repository."""
|
||||
if self.type != StoreType.GIT:
|
||||
_LOGGER.error("Can't remove built-in repositories!")
|
||||
raise StoreError()
|
||||
raise StoreError("Can't remove built-in repositories!", _LOGGER.error)
|
||||
|
||||
await self.git.remove()
|
||||
|
Loading…
x
Reference in New Issue
Block a user