From f9f1ab4e3ddeacadf2a7bce021d742f08f67905f Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion" Date: Thu, 10 Jul 2008 13:21:08 +0200 Subject: When an unexpected exception is caught, tell the administrator to read the log file for more information about the error. This should make things less confusing for developers who are new to Rails. Signed-off-by: Michael Koziarski --- railties/html/500.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/html') diff --git a/railties/html/500.html b/railties/html/500.html index 0e9c14f4c6..328fdcc3bc 100644 --- a/railties/html/500.html +++ b/railties/html/500.html @@ -25,6 +25,8 @@

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

+

(If you're the administrator of this website, then please read + the log file "<%=h RAILS_ENV %>.log" to find out what went wrong.)

\ No newline at end of file -- cgit v1.2.3 From c111522d5b8cd108756240a0348d515d6acee46c Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion" Date: Tue, 26 Aug 2008 15:59:03 +0200 Subject: The 'rails' command was broken by the last commit. Fix that. Signed-off-by: Michael Koziarski --- railties/html/500.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'railties/html') diff --git a/railties/html/500.html b/railties/html/500.html index 328fdcc3bc..74142cb04a 100644 --- a/railties/html/500.html +++ b/railties/html/500.html @@ -26,7 +26,8 @@

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

(If you're the administrator of this website, then please read - the log file "<%=h RAILS_ENV %>.log" to find out what went wrong.)

+ the log file "<%= "<%s>" % "%=h RAILS_ENV %" %>.log" + to find out what went wrong.)

- \ No newline at end of file + -- cgit v1.2.3