Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Default ShowExceptions error message is not friendly enough

#2716

The default static ShowExceptions error message is too unfriendly. Apparently a lot of people don't know that they're supposed to read the log file in order to find out what went wrong in case of an error. This patch modifies the default ShowExceptions error message and instructs the user to read the log file, in case he's an administrator.

Reported by Hongli Lai · May 25th, 2009 @ 04:44 PM

State: resolved
Milestone: 3.0.2
Assigned to: josh josh
Importance: none

Activity

  1. Hongli Lai
  2. josh
    josh
    • Assigned user set to josh
    • State changed from new to open
    • Milestone cleared.

    May 25th, 2009 @ 05:26 PM

  3. Hongli Lai
    Hongli Lai

    DHH said in commit 81c7a5d48d972c9e3973b4c018fafae1dfd9c0de that the error message might also be in the web server's log file. Reworded the message to take this into account.

    May 25th, 2009 @ 06:55 PM

  4. Jeremy Kemper
    Jeremy Kemper

    This is friendlier than a dead-end page. Nice patch.

    May 27th, 2009 @ 12:21 AM

  5. Repository
    Repository
    • State changed from open to resolved

    (from [760cb633396a954b465ec0dd0344915185bddec1]) Make the default 500 Internal Server Error page more friendly. Many people don't know they're supposed to look in the log files. [#2716 Default ShowExceptions error message is not friendly enough state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com
    http://github.com/rails/rails/commit/760cb633396a954b465ec0dd034491...

    May 27th, 2009 @ 09:02 PM

  6. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to

    October 15th, 2010 @ 11:01 PM