diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/ToDigest.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py index d5f1622a..7e5c3427 100644 --- a/Mailman/Handlers/ToDigest.py +++ b/Mailman/Handlers/ToDigest.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2006 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -29,6 +29,7 @@ import os import re import copy import time +import traceback from types import ListType from cStringIO import StringIO @@ -100,6 +101,9 @@ def process(mlist, msg, msgdata): # Bare except is generally prohibited in Mailman, but we can't # forecast what exceptions can occur here. syslog('error', 'send_digests() failed: %s', errmsg) + s = StringIO() + traceback.print_exc(file=s) + syslog('error', s.getvalue()) mboxfp.close() |