Forum Moderators: phranque
But - are you expecting people to routinely get the 500 / server error page that you should need such customization?
Perhaps the time would be better spent in researching more robust / sound methods of building the applications so that customers didn't get the 500 error whilst perusing the site...just my humble opinion.
While what jg says is absolutely correct errors can occur, and customizing the error page allows you to at least try and control where the guest moves from there.
So I think it is a good idea, and does not take that much time after all.
Error 500 = Lazy Programming.
Not always true.
I've been hit with this several times when I've coded to insure against all sorts of user oddities. There is always something that sneaks through. That's why there's a 500 error.
My error message would probably admit a goof, and show the email address. "Oops, something went wrong, please contact us so we can fix it"
Customers like it when you admit mistakes.
We implemented the 500 customized page today... We have put a back button on it (JavaScript history-1) + an Email address for the case it happens again. We became the first Email -> itīs a big help to try to understand why itīs happening.