[Zope] Mailing traceback from standard_error_message
Daniel G. Rusch
drusch@globalcrossing.com
Tue, 28 Mar 2000 13:28:32 -0600
Kevin Dangoor wrote:
>
> Is there a way to make standard_error_message email the traceback? (I
> have it emailing the error message, but I didn't know if there is a variable
> I can <dtml-var> to send the traceback.)
>
> Kevin
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
<dtml-sendmail mailhost="MailHost">
To:someone@somewhere.com
From:somepoorsap@igottroubles.com
Subject:Error Report
An error of type: "<!--#var error_type-->"
was thrown with a value of: <!--#var error_value-->
User Name: <!--#var my_user_id-->
Date: <!--#var ZopeTime fmt="%m/%d/%Y %H:%M:%S"-->
Path: <!--#var URL -->
<!--#if error_message-->
Error Message:<!--#var error_message-->
<!--#/if-->
<dtml-var error_tb>
</dtml-sendmail-->
The tag <dtml-var error_tb> Is the traceback
DR