On Wed, 12 May 2004, Gabor Szabo wrote:

> I asked this a couple of days ago with no response.
>
> I'd really appreciate your feedback.

Sorry about that.  I meant to reply but got distracted.

> When we put the pages online I'd like to be sure they won't crash
> because of bad params but I'd like to get some notification about
> these bad params.
>
> How can I do this ?

Run with die_on_bad_params on your test server and turn it off in
production.

> If it cannot be done now, would it be usefull if I tried to send
> a patch for a warn_on_bad_params option set to 0 by default ?

Hmmmm, maybe.  I've been meaning to do some work on the overall state
of error messages in HTML::Template, possibly offering optional
Exception::Class support.  If I did that I think it would be easy to
also offer the ability to turn non-critical errors into warnings.  But
a smaller change addressing just this problem might not be too bad...

-sam




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to