Display TraceBack in the standard_error_message
Hi all, I wonder how I can display error traceback inside standard_error_message (in fact, it's only to automatically email it in case of error, with REQUEST, errortype, etc...) I am aware of "DEBUG" feature that displays the Traceback at bottom of error pages if Zope is running in debug mode : this is not what I mean. I need to display/use it through a <dtml-var xxx> tag, so that I can insert it in the body of my debug email. Thanx for your support. Olivier. --- We are Micro$oft. You will be assimilated. Resistance is futile.
Olivier Deckmyn wrote:
Hi all,
I wonder how I can display error traceback inside standard_error_message (in fact, it's only to automatically email it in case of error, with REQUEST, errortype, etc...)
From: http://www.zope.org/Members/JohnC/StandardErrorMessage "Similarly, I can dump the traceback by writing: <dtml-var error_tb>" HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government." - Woodrow Wilson
participants (2)
-
Olivier Deckmyn -
Tim Cook