Steve Kleiman wrote:
Found a post on this mailing list suggesting:sub finalize_error { my ($c) = @_; # Note, not ($self, $c) if ( @{$c->errors} ) { $c->stash->template('error.tt'); # You might also need to forward to the view here yourself return; } $c->NEXT::finalize_error(); } But the error seems to abort all processing and never make it to this point.
I don't see why that's happening - can you explain what you mean by 'abort all processing'?
The most common reason for custom error handlers not working is that people forget to call $c->clear_error...
Cheers t0m _______________________________________________ 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/
