Skip to content

Commit

Permalink
fix(aws): Tweaked error message when security group tagging fails (#5013
Browse files Browse the repository at this point in the history
)

Only intended to include `e.getMessage()`.
  • Loading branch information
ajordens committed Oct 12, 2020
1 parent 9b36c55 commit b109ce1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -151,7 +151,7 @@ class SecurityGroupLookupFactory {
try {
amazonEC2.createTags(createTagRequest)
} catch (Exception e) {
log.info("Unable to tag newly created security group '${description.name}, reason: ${e}")
log.info("Unable to tag newly created security group '${description.name}, reason: ${e.getMessage()}")
}
}, 15, 3000, false);
} catch (Exception e) {
Expand Down

0 comments on commit b109ce1

Please sign in to comment.