http://www.perlmonks.org?node_id=249198


in reply to use CGI::Carp qw(fatalsToBrowser);

add use CGI::Carp qw/fatalsToBrowser/; as soon as possible, so it catches every error. since you're using CGI::Application, you should load it in the .pl file that calls your CGI::App-based module.

~Particle *accelerates*