diff --git a/veeam_client.py b/veeam_client.py index 592f161..f86df11 100644 --- a/veeam_client.py +++ b/veeam_client.py @@ -296,7 +296,10 @@ class VeeamClient: async def fetch_protection_groups(self) -> list[dict]: if self._is_v12(): - return await self._fetch_json_list("/api/v1/agents/protectionGroups") + try: + return await self._fetch_json_list("/api/v1/agents/protectionGroups") + except Exception: + return [] return [] async def fetch_agent_policies(self) -> list[dict]: