[Zope] standard_error_message - including object name
Dylan Reinhardt
zope at dylanreinhardt.com
Fri Nov 7 13:28:42 EST 2003
On Fri, 2003-11-07 at 10:15, David Siedband wrote:
> I'm interested in other ways to make the standard_error_message more
> useful as well.
Here's a recipe I use:
---
<dtml-sendmail mailhost=MailHost>
To: errors at my_domain.com
From: auto at my_domain.com
Subject: Error: <dtml-var URL>
<dtml-var error_type>: <dtml-var URL>
<dtml-if HTTP_REFERER>referrer: <dtml-var HTTP_REFERER></dtml-if>
Traceback:
<dtml-var error_tb>
</dtml-sendmail>
---
HTH,
Dylan
More information about the Zope
mailing list