I've just tried to run my app. without the -Debug flag and now I just
get the '(en) Please come back later' (+ several other languages) error
page. I've traced it to the use of $c->stats in the end() method in the
Root controller, which is an ActionClass('RenderView') method:
[error] Caught exception in MyApp::Controller::Root->end "Can't call
method "accept" on an undefined value at ... etc
$c->stats->accept() is used in generating script timing reports (Cory
Watson: Adding Action Timings To Your Output), and works fine if -Debug
is enabled.
Nothing else seems adversely affected by removing -Debug.
Catalyst::Stats is up to date, and the docs suggest it should
automatically be accessible via $c->stats. Any ideas anyone?
--
Richard Jones
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/