summaryrefslogtreecommitdiff
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authorbwarsaw2006-07-08 18:04:28 +0000
committerbwarsaw2006-07-08 18:04:28 +0000
commitc638bce69ed31001eff7c580d0a37bb807211e2b (patch)
tree9b206ff1d25552f3b39de542e6978e4f2c037fd0 /Mailman/Handlers
parentc6bd2024ebcb3982bb07c3fed1bb13d7ded332bd (diff)
downloadmailman-c638bce69ed31001eff7c580d0a37bb807211e2b.tar.gz
mailman-c638bce69ed31001eff7c580d0a37bb807211e2b.tar.zst
mailman-c638bce69ed31001eff7c580d0a37bb807211e2b.zip
When an exception occurs during decoration, log it at exception level so we see the traceback.
Make sure that in EmailBase.tearDown() we actually wait for the SinkServer to exit before continuing. We still leave test turds in archives/private, but I haven't yet figured it out.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/Decorate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Decorate.py b/Mailman/Handlers/Decorate.py
index a69bb7f1c..83a56bc9d 100644
--- a/Mailman/Handlers/Decorate.py
+++ b/Mailman/Handlers/Decorate.py
@@ -209,7 +209,7 @@ def decorate(mlist, template, what, extradict={}):
try:
text = (template % d).replace('\r\n', '\n')
except (ValueError, TypeError), e:
- log.error('Exception while calculating %s:\n%s', what, e)
+ log.exception('Exception while calculating %s:\n%s', what, e)
what = what.upper()
text = template
return text