[Catalyst] "or die" replacement?
Matt S Trout
dbix-class at trout.me.uk
Thu Mar 16 20:14:30 CET 2006
apv wrote:
> I personally believe the do or die (or croak or whatever) approach
> is the best. I have come to utterly despise software that pretends
> it's working when the action requested failed somewhere in some
> measure.
>
> 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 :)
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst
mailing list