Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Generalize email sending logging (#6075)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Feb 25, 2020
2 parents 12af344 + 1c9fead commit ca70d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6075.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change mailer logging to reflect Synapse doesn't just do chat notifications by email now.
2 changes: 1 addition & 1 deletion synapse/push/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def send_email(self, email_address, subject, template_vars):
multipart_msg.attach(text_part)
multipart_msg.attach(html_part)

logger.info("Sending email notification to %s" % email_address)
logger.info("Sending email to %s" % email_address)

yield make_deferred_yieldable(
self.sendmail(
Expand Down

0 comments on commit ca70d6a

Please sign in to comment.