Re: Error Handling/Reporting

2003-06-17 Thread Dale Lancaster
n local interface to sendmail, but essentially you mail yourself here email_queue('webmaster','[EMAIL PROTECTED]',$msg,"Website Error on $ENV{SITENAME}",$msg) ; exit 1 ; } set_message(\&handle_errors) ; } - Original Message - From: "Ma

Error Handling/Reporting

2003-06-17 Thread Martin Moss
All, I've been hunting the web for mechanisms whereby I can trap errors from my mod perl objects and report them back to a user nicely, log them AND possibly send reports back to me. Before I started hunting I thought it would be a simple process to use the eval mechanism to run my scripts and th