equal
deleted
inserted
replaced
210 try: |
210 try: |
211 content = self.render(row=0, col=0, **kwargs) |
211 content = self.render(row=0, col=0, **kwargs) |
212 subject = self.subject() |
212 subject = self.subject() |
213 except SkipEmail: |
213 except SkipEmail: |
214 continue |
214 continue |
215 except Exception, ex: |
215 except Exception as ex: |
216 # shouldn't make the whole transaction fail because of rendering |
216 # shouldn't make the whole transaction fail because of rendering |
217 # error (unauthorized or such) XXX check it doesn't actually |
217 # error (unauthorized or such) XXX check it doesn't actually |
218 # occurs due to rollback on such error |
218 # occurs due to rollback on such error |
219 self.exception(str(ex)) |
219 self.exception(str(ex)) |
220 continue |
220 continue |