diff --git a/terrareg/module_extractor.py b/terrareg/module_extractor.py index aad9134a..c57cf9cd 100644 --- a/terrareg/module_extractor.py +++ b/terrareg/module_extractor.py @@ -676,7 +676,7 @@ def process_upload(self): # Ensure base directory exists if not os.path.isdir(self.module_directory): - raise PathDoesNotExistError(f"Base module could not be found (git path: {self._module_version.git_path})") + raise PathDoesNotExistError(f"Base module could not be found (git path: {self._module_version.module_provider.git_path})") # Generate the archive, unless the module has a git clone URL and # the config for deleting externally hosted artifacts is enabled.