[Catalyst] "or die" replacement?
Steven Hilton
mshiltonj at gmail.com
Thu Mar 16 20:15:28 CET 2006
On 3/16/06, apv <apv at sedition.com> wrote:
> And I should have said:
> On Thursday, March 16, 2006, at 10:56 AM, apv 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.
>
> And giving a pretty site formatted error page and providing the
> error chain if debug is on, otherwise just giving the general
> http status info: "404: resource not found" etc.
Be careful of that. A full perl stack trace includes method
parameters, and that may include sensitive information, like database
connection information, including a password. You might not want the
world to see that.
Been there.
--
Steven Hilton <mshiltonj at gmail.com>
<http://mshiltonj.com/>
"It is the duty of the patriot to protect
his country from its government." -- Thomas Paine
More information about the Catalyst
mailing list