• 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
Re: Creating the perfect error page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating the perfect error page


  • Subject: Re: Creating the perfect error page
  • From: Hugi Thordarson <email@hidden>
  • Date: Mon, 27 Apr 2015 05:19:03 +0000

You'd never put that in a _production_ release though, would you?
 
Looks perfect for development, but in production I'd prefer my exception views to be pretty generic with a non-technical message, unless the app is for internal staff. So, er, that's what we do.

Yeah, I would not want that level of detail made public.  It might encourage undesired behaviour.

It’s certainly a superior default page for when you’re first getting a project off the ground.  You could even conditionally use it just in development mode, even if you’ve got a public-facing page for production.

Yeah, it’s only active during development. It wouldn’t even work in production as is, since I’m finding the source by assuming fluffy bunny layout and reading directly from disk. No fancy stuff here.

.java:
https://bitbucket.org/hugi/uswebobjects/src/9e01918c4054cdeee87384d8ff7cac80abeb6d0d/Sources/is/rebbi/wo/components/USExceptionPage.java?at=master

.html:
https://bitbucket.org/hugi/uswebobjects/src/9e01918c4054cdeee87384d8ff7cac80abeb6d0d/Components/USExceptionPage.wo/USExceptionPage.html?at=master


Aside: am I mis-remembering, or did the Yellow Box exception view include a link to the IDE code base class and line in development, you know, a zillion years ago?

Now that you mention it, I recall this too.  

Oh you old timers.  I’ll get off your lawn.

lol :). But yes, this was indeed the case and I’d love if we could reactivate it, it’s a real time saver. WOLips added this feature again some time ago, enabled by starting the WOLips server from the Eclipse preferences and adding the server password to your application properties, but it hasn’t worked in a while, I believe.

Cheers,
- 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

References: 
 >Creating the perfect error page (From: Hugi Thordarson <email@hidden>)
 >Re: Creating the perfect error page (From: Paul Hoadley <email@hidden>)
 >Re: Creating the perfect error page (From: David Holt <email@hidden>)
 >Re: Creating the perfect error page (From: Matthew Ness <email@hidden>)
 >Re: Creating the perfect error page (From: Chuck Hill <email@hidden>)
 >Re: Creating the perfect error page (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Creating the perfect error page
  • Next by Date: Re: Creating the perfect error page
  • Previous by thread: Re: Creating the perfect error page
  • Next by thread: Re: Creating the perfect error page
  • Index(es):
    • Date
    • Thread