------------------------------------------------------------
revno: 1257
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Fri 2013-07-12 14:31:02 -0700
message:
- Added logging for template errors in HyperArch.py. (LP: #558254)
modified:
Mailman/Archiver/HyperArch.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/Archiver/HyperArch.py'
--- Mailman/Archiver/HyperArch.py 2010-02-23 01:10:05 +0000
+++ Mailman/Archiver/HyperArch.py 2013-07-12 21:31:02 +0000
@@ -226,9 +226,9 @@
Utils.GetCharSet(lang),
'replace')
text = sdict.interpolate(utemplate)
- except (TypeError, ValueError):
+ except (TypeError, ValueError), e:
# The template is really screwed up
- pass
+ syslog('error', 'broken template: %s\n%s', filepath, e)
# Make sure the text is in the given character set, or html-ify any bogus
# characters.
return Utils.uncanonstr(text, lang)
=== modified file 'NEWS'
--- NEWS 2013-07-12 21:07:29 +0000
+++ NEWS 2013-07-12 21:31:02 +0000
@@ -105,6 +105,8 @@
Bug Fixes and other patches
+ - Added logging for template errors in HyperArch.py. (LP: #558254)
+
- Added more explanation to the bad owner address message from
bin/newlist. (LP: #1200763)
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org