mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix exception message in AWS lambda module
This commit is contained in:
parent
6a620a1ed9
commit
a5ec29ed49
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ def set_tag(client, module, tags, function):
|
|||
try:
|
||||
current_tags = client.list_tags(Resource=arn).get('Tags', {})
|
||||
except ClientError as e:
|
||||
module.fail_json(msg="Unable to list tags: {0}".format(to_native(e),
|
||||
exception=traceback.format_exc()))
|
||||
module.fail_json(msg="Unable to list tags: {0}".format(to_native(e)),
|
||||
exception=traceback.format_exc())
|
||||
|
||||
tags_to_add, tags_to_remove = compare_aws_tags(current_tags, tags, purge_tags=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue