Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Improved package.py error message for missing source_paths #88

Merged

Conversation

ers81239
Copy link
Contributor

Description

Changed the wording and included the failing source_path when it can't be found. Added explanation to both the error message and the README.md regarding how relative paths are interpreted.

Motivation and Context

I spent 30 minutes trying to interpret "source_path must be set" when it was set, but its relativity was wrong.

Breaking Changes

None.

How Has This Been Tested?

Manual testing with valid and invalid paths. This is my first time using the module, so I don't have a complex source_path, so complex source_paths aren't tested.

@ers81239 ers81239 changed the title Improved package.py error message for missing source_paths docs:Improved package.py error message for missing source_paths Dec 22, 2020
@ers81239 ers81239 force-pushed the improved_error_message branch 2 times, most recently from b67517c to 91cb23d Compare December 22, 2020 14:04
@ers81239 ers81239 changed the title docs:Improved package.py error message for missing source_paths docs: Improved package.py error message for missing source_paths Dec 22, 2020
@ers81239 ers81239 force-pushed the improved_error_message branch from 91cb23d to b58cfec Compare December 22, 2020 14:05
@antonbabenko antonbabenko merged commit f1abf32 into terraform-aws-modules:master Dec 31, 2020
@antonbabenko
Copy link
Member

Thanks for the addition!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants