Re: Re: poll: howto do informative error handling without the fatalities
| From: | Richard Quadling | Date: | Wed, 10 Feb 2010 11:57:41 +0000 |
| Subject: | Re: Re: poll: howto do informative error handling without the fatalities | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301926@lists.php.net to get a copy of this message | ||
On 9 February 2010 22:25, <clancy_1@cybec.com.au> wrote:
> On Tue, 9 Feb 2010 16:09:05 +0000, rquadling@googlemail.com (Richard Quadling) wrote:
>
>>On 9 February 2010 14:20, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
>>>
>>> On Tue, 2010-02-09 at 09:19 -0500, Robert Cummings wrote:
>>>
>>> Richard wrote:
>>> > Hi,
>>> >
>>> >> I have extended the standard exception class to send me an email
>>> >> whenever an exception occurs.
>>> >
>>> > I did that once. Once being the operative word... :-) Ended up with
>>> > tens of thousands of emails one morning. At first I thought... "Wow,
>>> > maybe my popularity has grown somewhat". But it hadn't.
>>>
>>> I have something similar... a cron job that checks the error_log file
>>> every 10 minutes and sends me the contents if any exist. I also set a
>>> special header so I can be sure it's not spam and appropriately route it
>>> into my mail folder maze, Much less spammy :)
>>>
>>> Cheers,
>>> Rob.
>>> --
>>> http://www.interjinn.com
>>> Application and Templating Framework for PHP
>>>
>>>
>>> Real developers don't have errors in their code; they're undocumented
>>> features ;)
>>>
>>> Thanks,
>>> Ash
>>> http://www.ashleysheridan.co.uk
>>>
>>>
>>
>>So, no documentation AND bugs!!! Gee. I really wouldn't want to rely
>>on that code base!
>
> So you don't use (or work with) any Microsoft product?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
The closest I get is MSSQL which has BOL (Books OnLine). Its enough.
Occasionally MS Excel VBA which is fairly well documented and always
accessible via a COM interface (so self documenting more or less).
But point taken.
And only 12 MS critical updates today! Woo Hoo!
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling