[dancer-users] Why do warnings cause Dancer to fail?

Joel Roth joelz at pobox.com
Sat May 3 05:51:07 BST 2014


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 at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

-- 
Joel Roth
  



More information about the dancer-users mailing list