public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
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 <michael@koziarski.com>
Hongli Lai (Phusion (author)
Thu Jul 10 04:21:08 -0700 2008
NZKoz (committer)
Tue Aug 26 05:30:19 -0700 2008
commit  f9f1ab4e3ddeacadf2a7bce021d742f08f67905f
tree    994a4d44905a910bc70d663a7e89860d799c2e30
parent  eec5eb2e444b2b42206e2d5ccfe7f30306c308cb
...
25
26
27
 
 
28
29
30
31
...
25
26
27
28
29
30
31
32
33
0
@@ -25,6 +25,8 @@
0
   <div class="dialog">
0
     <h1>We're sorry, but something went wrong.</h1>
0
     <p>We've been notified about this issue and we'll take a look at it shortly.</p>
0
+    <p><small>(If you're the administrator of this website, then please read
0
+    the log file "<%=h RAILS_ENV %>.log" to find out what went wrong.)</small></p>
0
   </div>
0
 </body>
0
 </html>
0
\ No newline at end of file

Comments