[PATCH 0/3] Mail debug details to admins when mail parsing is failing

Damien Lespiau damien.lespiau at intel.com
Sun Sep 27 00:06:25 AEST 2015

Django can send emails to admins with the backtrace when there are 500 HTTP
errors. However this doesn't catch any errors in parsermail.py.

This series will make parsemail.py send error mails to admins when parsing of
the incoming email fails. That error email contains both the guilty email and
the back trace to help debugging.


Damien Lespiau (3):
  settings: Move DEFAULT_FROM_EMAIL to the core settings section
  settings: Also define SERVER_EMAIL for email logs
  parsemail: Mail error information to ADMINS when parsing fails

 patchwork/bin/parsemail.py               | 36 +++++++++++++++++++++++++++++++-
 patchwork/settings/base.py               |  5 ++++-
 patchwork/settings/production.example.py |  1 +
 3 files changed, 40 insertions(+), 2 deletions(-)


More information about the Patchwork mailing list