Re: [htmltmpl] warning_on_bad_params
Brought to you by:
samtregar
From: Gabor S. <ga...@pe...> - 2004-05-11 22:27:45
|
On Tue, 11 May 2004, Sam Tregar wrote: > Sorry about that. I meant to reply but got distracted. no problem, > Run with die_on_bad_params on your test server and turn it off in > production. Normally I'd do that but in our current setup he does not have a test server and I don't have the templates :( quite crazy. In any case he might later update the templates on the live server and I'd like to get informed about missed params. > > > 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... > Then I'll try to prepare a patch for that. Gabor |