Fix typo in AWS guidelines doc (#23168)
Change `format_ex` to `format_exc`
This commit is contained in:
parent
443102c9f0
commit
9a3a0d731f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue