[Catalyst] Custom finalize_error
Jim Spath
jspath at pangeamedia.com
Mon Apr 2 21:13:11 GMT 2007
I wanted to get rid of the "Please come back later" error page, so I
defined my own finalize_error() in MyApp.pm as mentioned in this post:
http://www.mail-archive.com/catalyst@lists.rawmode.org/msg04542.html
It looks like:
sub finalize_error {
my ($self, $c) = @_;
$c->stash->{'template'} = 'error.tt2';
}
The "Please come back later" page no longer appears, but now the page is
simply blank. I've double checked to make sure the error.tt2 template
is accessible via Catalyst and it is, so I'm unsure where to go from here.
Any ideas?
- Jim
More information about the Catalyst
mailing list