Re: Improved exception page
Re: Improved exception page
- Subject: Re: Improved exception page
- From: Tim Worman <email@hidden>
- Date: Fri, 19 May 2017 10:06:14 -0700
Nice! Thanks Hugi!
Tim
> On May 17, 2017, at 11:18 AM, Hugi Thordarson <email@hidden> wrote:
>
> Hi all,
> a couple of months back I added a new exception page to Wonder. If you’d like to try it out and are using a relatively current version of Wonder, just add…
>
> @Override
> public WOResponse reportException( Throwable exception, WOContext context, NSDictionary extraInfo ) {
> return ERXExceptionPage.reportException( exception, context, extraInfo );
> }
>
> …to your Application class and you should get nice looking exception pages like this one: https://www.dropbox.com/s/mo22t9dgkym0ceb/wo.png. It’s been my default for a couple of years and I’ve found it quite beneficial since it immediately highlights the code to blame during development. Suggestions for improvement are very welcome.
>
> - hugi
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden