diff --git a/src/posit/connect/resources.py b/src/posit/connect/resources.py index 2e54ecc2..ed0de84e 100644 --- a/src/posit/connect/resources.py +++ b/src/posit/connect/resources.py @@ -40,7 +40,7 @@ def __getattr__(self, name): stacklevel=2, ) return self[name] - return None + raise AttributeError(f"'{self.__class__.__name__}' object has no attribute '{name}'") def update(self, *args, **kwargs): super().update(*args, **kwargs)