From 9a3a0d731f17fbdca3149e5fed86f3c76a0aa4b6 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Fri, 31 Mar 2017 23:57:38 +1000 Subject: [PATCH] Fix typo in AWS guidelines doc (#23168) Change `format_ex` to `format_exc` --- lib/ansible/modules/cloud/amazon/GUIDELINES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/GUIDELINES.md b/lib/ansible/modules/cloud/amazon/GUIDELINES.md index 68abf412cb..34532cbf15 100644 --- a/lib/ansible/modules/cloud/amazon/GUIDELINES.md +++ b/lib/ansible/modules/cloud/amazon/GUIDELINES.md @@ -187,7 +187,7 @@ except ImportError: try: result = connection.aws_call() except ClientError, e: - module.fail_json(msg=e.message, exception=traceback.format_ex(), + module.fail_json(msg=e.message, exception=traceback.format_exc(), **camel_dict_to_snake_dict(e.response)) ```