mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fix invocations of module.fail_json with no msg=
Bonus: add missing % in cs_nic.py
This commit is contained in:
parent
91860b2423
commit
ec9582fd83
15 changed files with 25 additions and 25 deletions
|
@ -231,7 +231,7 @@ def main():
|
|||
"the ARN is correct and your profile has "
|
||||
"permissions to execute this function.",
|
||||
exception=traceback.format_exc())
|
||||
module.fail_json("Client-side error when invoking Lambda, check inputs and specific error",
|
||||
module.fail_json(msg="Client-side error when invoking Lambda, check inputs and specific error",
|
||||
exception=traceback.format_exc())
|
||||
except botocore.exceptions.ParamValidationError as ve:
|
||||
module.fail_json(msg="Parameters to `invoke` failed to validate",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue