[Zope] how to print error stack trace

Brian Hooper brian@garage.co.jp
Thu, 09 Sep 1999 10:04:37 +0900


Just include

<dtml-var error_traceback>

in the body of the error mail (<!--#var error_traceback--> if you're
using Zope 1).

-Brian Hooper

"Jay, Dylan" <djay@lucent.com> wrote:

> I am trying to put in some code to automatically mail me when ever a zope
> error occurs. However I want to include the python stack trace in that mail.
> This doesn't seem to be a variable included in standard_error_html but
> rather automatically tacked onto the end of this document. How can I include
> this stack trace?
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>