diff --git a/ops/manifests/manifest.py b/ops/manifests/manifest.py index 43105a3..8028d20 100644 --- a/ops/manifests/manifest.py +++ b/ops/manifests/manifest.py @@ -235,6 +235,9 @@ def installed_resources(self) -> FrozenSet[HashableResource]: obj.name, namespace=obj.namespace, ) + except (ManifestClientError): + log.exception(f"Cannot connect to the api endpoint, marking ({obj}) as missing") + continue except (ApiError, HTTPError): log.exception(f"Didn't find expected resource installed ({obj})") continue