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
Missing Exception Handling in SSH Plugin Fixed Error Verbosity Issue #82354
base: devel
Are you sure you want to change the base?
Conversation
The test
The test
|
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.
Are you able to add a changelog fragement for this change at https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment.
error_code = return_tuple[0] | ||
cmd_error = to_native(return_tuple[2]).rstrip() | ||
error_messages = { | ||
1: "sshpass: Invalid command line argument. Command given ({})".format(cmd_error), |
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.
I would avoid embedding the stderr for this and the next one in case it contains sensitive information that should not be exposed in no_log
.
Fix for issue #58133
SUMMARY
ISSUE TYPE
ADDITIONAL INFORMATION