mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Remove extra parameter in format_exc (#46251)
`traceback.format_exc()` does not take any argument, this fix remove such occurances. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
ansibot
parent
1a51b08875
commit
bfc3ca1da1
@@ -237,7 +237,7 @@ def main():
|
||||
exception=traceback.format_exc())
|
||||
except botocore.exceptions.ParamValidationError as ve:
|
||||
module.fail_json(msg="Parameters to `invoke` failed to validate",
|
||||
exception=traceback.format_exc(ve))
|
||||
exception=traceback.format_exc())
|
||||
except Exception as e:
|
||||
module.fail_json(msg="Unexpected failure while invoking Lambda function",
|
||||
exception=traceback.format_exc())
|
||||
|
||||
Reference in New Issue
Block a user