-
Notifications
You must be signed in to change notification settings - Fork 343
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
Add fail method that knows how to handle AnsibleAWSErrors #1997
Merged
softwarefactory-project-zuul
merged 1 commit into
ansible-collections:main
from
tremble:modules/awserror
Feb 27, 2024
Merged
Add fail method that knows how to handle AnsibleAWSErrors #1997
softwarefactory-project-zuul
merged 1 commit into
ansible-collections:main
from
tremble:modules/awserror
Feb 27, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merged
alinabuzachis
approved these changes
Feb 27, 2024
Pull request merge failed: Required status check "ansible/gate" is expected. |
tremble
force-pushed
the
modules/awserror
branch
from
February 27, 2024 12:21
2f8273f
to
ca8e4d9
Compare
tremble
added
backport-7
PR should be backported to the stable-7 branch
mergeit
Merge the PR (SoftwareFactory)
and removed
mergeit
Merge the PR (SoftwareFactory)
labels
Feb 27, 2024
tremble
force-pushed
the
modules/awserror
branch
from
February 27, 2024 13:43
ca8e4d9
to
9843e4b
Compare
tremble
added
mergeit
Merge the PR (SoftwareFactory)
and removed
mergeit
Merge the PR (SoftwareFactory)
labels
Feb 27, 2024
softwarefactory-project-zuul
bot
merged commit Feb 27, 2024
b251003
into
ansible-collections:main
39 of 41 checks passed
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #2002 🤖 @patchback |
patchback bot
pushed a commit
that referenced
this pull request
Feb 27, 2024
Add fail method that knows how to handle AnsibleAWSErrors SUMMARY Adds fail_json_aws_error() to AnsibeAWSModule this is just a simple wrapper around fail_json() and fail_json_aws() that knows how to route AnsibleAWSError exceptions (with and without triggering exceptions) ISSUE TYPE Feature Pull Request COMPONENT NAME module_utils/modules ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis (cherry picked from commit b251003)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this pull request
Feb 27, 2024
) [PR #1997/b2510038 backport][stable-7] Add fail method that knows how to handle AnsibleAWSErrors This is a backport of PR #1997 as merged into main (b251003). SUMMARY Adds fail_json_aws_error() to AnsibeAWSModule this is just a simple wrapper around fail_json() and fail_json_aws() that knows how to route AnsibleAWSError exceptions (with and without triggering exceptions) ISSUE TYPE Feature Pull Request COMPONENT NAME module_utils/modules ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Adds fail_json_aws_error() to AnsibeAWSModule this is just a simple wrapper around fail_json() and fail_json_aws() that knows how to route AnsibleAWSError exceptions (with and without triggering exceptions)
ISSUE TYPE
COMPONENT NAME
module_utils/modules
ADDITIONAL INFORMATION