~mmu-openerp/+junk/lct

Viewing all changes in revision 9836.

  • Committer: Thibault Delavallée
  • Date: 2014-02-13 11:59:22 UTC
  • mfrom: (9833.1.7 7.0-fetchmail-tde)
  • Revision ID: tde@openerp.com-20140213115922-33vxgj7nfy86ashw
[MERGE] [FIX] fetchmail: more coherent and robust behavior of fetchmail. Notably, do not discard the whole email stack or stop after first crashed email processing.

Featuring:
- [FORWARD] [FIX] Forward port of revision 6920 of 6.1 addons branch, revid:odo@openerp.com-20120727150051-e1q0m92tyrazz82f. Purpose: some fixes and more robuts handling of incoming emails
- [IMP] mail: mail_thread: message routing: raise exceptions instead of using asserts. Indeed assert are statements meant to be used when developping, for debug purpose. In a production environment it is safer to use real exceptions that can be managed accordingly.
- [FIX] mail: fixed tests, no more AssertionError, but ValueError
- [IMP] fetchmail: try / except each email processing. This allows to print an exception in the logs for every failed email processing, without crashing the whole stack. Any failed or succeeded email is set as seen, to avoid crashing every time the scheduler runs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: