[Catalyst] "or die" replacement?

Bill Moseley moseley at hank.org
Fri Mar 17 01:13:59 CET 2006


On Thu, Mar 16, 2006 at 07:14:30PM +0000, Matt S Trout wrote:
> > My main cat project is dying with codes right now, e.g., "RC_503:
> > Database cannot be reached," if there is a \bDBI\b in the
> > $c->error(s) and sending email to the dev (via a config file
> > address) with the Email plugin.
> 
> Very cool idea. I'd love to see this worked up as a plugin or similar :)

Seems like a good idea until you get about 5000 emails some day.

I have an cron script that scans the logs every so often and gathers
up errors.  One email every 1/2 hour is easier to handle.

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list