Bob Tanner supplied us with the following patch to add
logging to the code that handles really "screwed up
templates" so the admin can more easily see what has
Please consider, thanks!
--- HyperArch.py 2003-12-26 14:41:30.000000000 -0600
+++ HyperArch.py-bob 2005-11-23 03:19:13.000000000 -0600
@@ -217,8 +217,9 @@
text = sdict.interpolate(utemplate)
- except (TypeError, ValueError):
+ except (TypeError, ValueError), e:
# The template is really screwed up
+ syslog('error', 'The template is really
screwed up: %s\n',
# Make sure the text is in the given character
set, or html-ify any
Log in to post a comment.