On Wed, Jan 20, 2010 at 10:52 AM, Wes Cravens <[email protected]> wrote:
> J. Shirley wrote:
>>
>> That will show you the errors, and I believe get you what you expect
>> to see.  Having said all that, I am fond of ErrorCatcher, and use its
>> included Email emitter quite happily.
>
> I am currently attempting to use ErrorCatcher to send email but also have a
> custom error page be rendered.  I've tried the Cookbook 'end' method in Root
> but clearing the error there seems to prevent ErrorCatcher from reacting,
> but letting it fall through gives me the 'Please come back later' page.
>
> Is there a suitable way to have both ErrorCatcher and a custom error page?
>  I'm trying to resist writing an ErrorCatcher emitter just for this.


I am using Catalyst::Plugin::CustomErrorMessage in conjunction with
ErrorCatcher -- works like a charm.

-J

_______________________________________________
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/

Reply via email to