equal
deleted
inserted
replaced
198 subject = self.subject() |
198 subject = self.subject() |
199 except SkipEmail: |
199 except SkipEmail: |
200 continue |
200 continue |
201 except Exception, ex: |
201 except Exception, ex: |
202 # shouldn't make the whole transaction fail because of rendering |
202 # shouldn't make the whole transaction fail because of rendering |
203 # error (unauthorized or such) |
203 # error (unauthorized or such) XXX check it doesn't actually |
|
204 # occurs due to rollback on such error |
204 self.exception(str(ex)) |
205 self.exception(str(ex)) |
205 continue |
206 continue |
206 msg = format_mail(self.user_data, [emailaddr], content, subject, |
207 msg = format_mail(self.user_data, [emailaddr], content, subject, |
207 config=self._cw.vreg.config, msgid=msgid, references=refs) |
208 config=self._cw.vreg.config, msgid=msgid, references=refs) |
208 yield [emailaddr], msg |
209 yield [emailaddr], msg |