]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parsemail: Mail error information to ADMINS when parsing fails
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 1 Oct 2015 11:35:20 +0000 (12:35 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 26 Oct 2015 20:46:14 +0000 (20:46 +0000)
commitc304bfd07b2989e63ed90858f58b2b540b2b940b
tree944d80a50bfd6c8b972f8a17b481898e1b2f9bc5
parent420b3eaa79f63531a0102fb0003841d82aa93883
parsemail: Mail error information to ADMINS when parsing fails

We can use the built-in mechanism from django to send error emails when
failing to parse a mail. The error mails will have contain the full
guitly mail and the corresponding backtrace for debugging purposes.

v2: Add 2 PEP8 blank lines (Stephen Finucane)
v3: Remove one blank line (Stephen Finucane)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/bin/parsemail.py