diff --git a/supervisor/store/repository.py b/supervisor/store/repository.py index c693a0769..3e3c640d1 100644 --- a/supervisor/store/repository.py +++ b/supervisor/store/repository.py @@ -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()