------------------------------------------------------------
revno: 1098
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Fri 2010-03-05 13:11:55 -0800
message:
Added a traceback to the log message produced when processing the
digest.mbox throws an exception.
modified:
Mailman/Handlers/ToDigest.py
NEWS
--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
=== modified file 'Mailman/Handlers/ToDigest.py'
--- Mailman/Handlers/ToDigest.py 2006-01-29 05:12:26 +0000
+++ Mailman/Handlers/ToDigest.py 2010-03-05 21:11:55 +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()
=== modified file 'NEWS'
--- NEWS 2010-02-27 18:48:20 +0000
+++ NEWS 2010-03-05 21:11:55 +0000
@@ -83,6 +83,9 @@
Bug Fixes and other patches
+ - Added a traceback to the log message produced when processing the
+ digest.mbox throws an exception.
+
- Added a urlhost argument to the MailList.MailList.Create() method to
allow bin/newlist and the the create CGI to pass urlhost so the host
will be correct in the listinfo link on the emptyarchive page.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org