Robert Stone wrote:
Greetings,
Sounds like you are looking for "warnings" and "show_errors" as documented in http://search.cpan.org/~xsawyerx/Dancer-1.3110/lib/Dancer/Config.pm
Thanks, Robert, for reminding me where to look. I agree that in general, it makes sense to give code more scrutiny during development. Joel Roth
I typically put these configuration values in my environment configs so that in development mode I can get all the juicy errors and warnings while in production they are suppressed and replaced with your standard error pages. I'd welcome any additional feedback or best practices with respect to this.
Hope you find the above useful.
Best Regards, Robert Stone
On 5/2/2014 5:53 PM, Joel Roth wrote:
Is it a configuration thing?
Perl usually lets *me* decide how warnings should be handled. Does Dancer allow it too?
If it is a design decision, is there a theory behind this that is written up somewhere?
kind regards,
Joel
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-- Joel Roth