=== modified file 'Mailman/Handlers/ToDigest.py' --- Mailman/Handlers/ToDigest.py 2006-01-29 05:12:26 +0000 +++ Mailman/Handlers/ToDigest.py 2010-03-03 02:29:33 +0000 @@ -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 re import copy import time +import traceback from types import ListType from cStringIO import StringIO @@ -100,6 +101,9 @@ # 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()