diff --git a/src/posit/connect/resources.py b/src/posit/connect/resources.py index 49e4b657..bfef8365 100644 --- a/src/posit/connect/resources.py +++ b/src/posit/connect/resources.py @@ -45,7 +45,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)