25 Feb
1999
25 Feb
'99
1:58 p.m.
Julian wrote:
1) is there any way of setting it so it sends these to web server logs (on stdout) and not to the HTML?
Check the PCGI resource file (the thing actually executed by Apache). There is a variable that says "Hide tracebacks". We ship it in debug mode by default to help us find installation errors.
2)Is there any way of catching and handling exceptions from within DTML?
Check out standard_error_message in the top folder. Otherwise, I'd sure like someone to implement: <!--#try--> <!--#var some_bad_variable--> <!--#except KeyError--> <h3>This page referenced a bad variable.</h3> <!--#/try--> --Paul