We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8985a70 commit 6560040Copy full SHA for 6560040
code_comments/notification.py
@@ -158,7 +158,11 @@ def notify(self, comment):
158
projname = self.config.get("project", "name")
159
subject = "Re: [%s] %s" % (projname, comment.link_text())
160
161
- NotifyEmail.notify(self, comment, subject)
+ try:
162
+ NotifyEmail.notify(self, comment, subject)
163
+ except Exception, e:
164
+ self.env.log.error("Failure sending notification on creation of "
165
+ "comment #%d: %s", comment.id, e)
166
167
def send(self, torcpts, ccrcpts):
168
"""
0 commit comments