• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Improved exception page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Improved exception page


  • Subject: Improved exception page
  • From: Hugi Thordarson <email@hidden>
  • Date: Wed, 17 May 2017 18:18:37 +0000

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

  • Follow-Ups:
    • Re: Improved exception page
      • From: Tim Worman <email@hidden>
  • Prev by Date: ERXFetchSpecificationBatchIterator for efficient batch fetches
  • Next by Date: Re: Abandoning AjaxDatePicker for JQuery?
  • Previous by thread: ERXFetchSpecificationBatchIterator for efficient batch fetches
  • Next by thread: Re: Improved exception page
  • Index(es):
    • Date
    • Thread