I've set up standard_error_message to e-mail me the error messages. I'm interested in how to get the name of the object that generated the error inserted in the e-mail. I tried putting <dtml-var REQUEST> inside of the <dtml-sendmail> it doesn't seem to insert anything... I'm interested in other ways to make the standard_error_message more useful as well. Sorry if I've missed something in my googling. Even a URL to a resource on this would be appreciated thx -- David
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@my_domain.com From: auto@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
participants (2)
-
David Siedband -
Dylan Reinhardt