Re: Trapping PHP errors
| From: | Jean-Christian Imbeault | Date: | Wed, 15 Jan 2003 04:25:05 +0000 |
| Subject: | Re: Trapping PHP errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131649@lists.php.net to get a copy of this message | ||
Michael Sims wrote:
My site has a custom error handler (implemented via set_error_handler) which sends a nicely formatted email including all of the error details, a variable dump, the contents of the output buffer before the error occured, and the contents of a call to debug_backtrace, in addition to logging the error to a file.If it's not asking too much would you be willing to share that custome error handler you wrote? I'm in the process of writing one but wouldn't want to re-invent the wheel if I didn't have too :) Jc