perl - Internal Server Error should be more elaborate with Catalyst -
i've made catalyst application mainsite
bravo::mainsite::controller::root
controller.
to test added package bravo::mainsite::controller::test;
consists of:
sub catalyst_test :global { ( $self, $c ) = @_; $c->response->body( "catalyst works!" ); }
when intentionally add error test.pm
, our cgi script
#!/usr/bin/env perl use catalyst::scriptrunner; catalyst::scriptrunner->run('bravo::mainsite', 'cgi'); 1;
shows "internal server error" without clarification exact error, instead of custom catalyst error page basic nginx or apache error not detailed enough.
i want see more detailed error message.
note -debug
option present in use catalyst
.