Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Pretty format lambda forwarder logging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Niall Creech committed Feb 15, 2017
1 parent e3da6af commit 958f3d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/SESLambdaForwarder.yaml
Expand Up @@ -154,7 +154,7 @@ Resources:
logger.debug("No filtering addresses found, skipping message...")
return ("CONTINUE")
logger.info("Found filtering addresses {}, "
"forwarding the message...".format(filtered_addresses))
"forwarding the message...".format(','.join(filtered_addresses)))
email_object = email.message_from_string(email_data)
email_subject = email_object.get('Subject', 'Verification message for ACM')
Expand Down Expand Up @@ -192,7 +192,7 @@ Resources:
},
],
)
logger.info("Sent verification email successfully to {}".format(forwarding_addresses))
logger.info("Sent verification email successfully to {}".format(','.join(forwarding_addresses)))
return "CONTINUE"
Expand Down

0 comments on commit 958f3d1

Please sign in to comment.