-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Clearer error logging in passwordstore lookup #5436
Clearer error logging in passwordstore lookup #5436
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Can you please add a changelog fragment? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. If nobody complains, I'm going to merge this in ~a week.
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5458 🤖 @patchback |
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me> (cherry picked from commit e4b9e09)
@jplitza thanks for your contribution! |
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me> (cherry picked from commit e4b9e09) Co-authored-by: Jan-Philipp Litza <jplitza@users.noreply.github.com>
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me>
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me>
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me>
* Clearer error logging in passwordstore lookup * Add changelog fragment for passwordstore errmsgs Co-authored-by: Sylvia van Os <sylvia@hackerchick.me>
(re-creation of ansible/ansible#47120)
SUMMARY
There are many reasons why password store would return exit code 1. Just search for "exit 1" in https://git.zx2c4.com/password-store/tree/src/password-store.sh. This change creates clearer error messages, so one can see what is actually wrong.
Fixes #3759
ISSUE TYPE
COMPONENT NAME
lookup passwordstore
ADDITIONAL INFORMATION
before:
after: