Re: Re: Automatic error reporting
| From: | Peter Bowyer | Date: | Tue, 19 Feb 2002 13:44:27 +0000 |
| Subject: | Re: Re: Automatic error reporting | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-879@lists.php.net to get a copy of this message | ||
At 10:23 PM 2/18/02 +0100, Tomas V.V.Cox wrote:
function pear_error($obj) {Thanks. This did *exactly* what I wanted!die($obj->getMessage() . '<br>' . $obj->getDebugInfo());} PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'pear_error');
http://vulcanonet.com/soft/pear_tut/I looked here firstly and tried some things, but couldn't get it to do what I wanted :-( --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Glenbranter - Scottish narrow gauge in 009 http://glenbranter.narrow-gauge.co.uk --oOo--