mail.py
branchstable
changeset 8743 27a83746aebd
parent 8695 358d8bed9626
child 8931 4b195bd82e8b
equal deleted inserted replaced
8742:bd374bd906f3 8743:27a83746aebd
   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