diff options
| author | bwarsaw | 2006-07-08 18:04:28 +0000 |
|---|---|---|
| committer | bwarsaw | 2006-07-08 18:04:28 +0000 |
| commit | c638bce69ed31001eff7c580d0a37bb807211e2b (patch) | |
| tree | 9b206ff1d25552f3b39de542e6978e4f2c037fd0 /Mailman/Handlers | |
| parent | c6bd2024ebcb3982bb07c3fed1bb13d7ded332bd (diff) | |
| download | mailman-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.py | 2 |
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 |
