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

Improve log message when sending emails #5502

Merged
merged 1 commit into from
Jun 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5502.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve email notification logging.
2 changes: 1 addition & 1 deletion synapse/push/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def send_email(self, email_address, subject, template_vars):
multipart_msg.attach(text_part)
multipart_msg.attach(html_part)

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

yield make_deferred_yieldable(
self.sendmail(
Expand Down