Skip to content
This repository
Browse code

add prompt to 404 & 500 pages to check logs

When new programmers push their code to a production server and receive an error they often don't know to check the logs, this simple reminder will help. Most professional applications have custom error pages so this change shouldn't affect them. The wording of the message should not confuse non-developer visitors.
  • Loading branch information...
commit 4c82d3f0a46f18bd6b02f264f6c81bec85d416ed 1 parent 6bd729e
Richard Schneeman authored June 09, 2012
1  railties/lib/rails/generators/rails/app/templates/public/404.html
@@ -22,5 +22,6 @@
22 22
     <h1>The page you were looking for doesn't exist.</h1>
23 23
     <p>You may have mistyped the address or the page may have moved.</p>
24 24
   </div>
  25
+  <p>If you are the application owner check the logs for more information.</p>
25 26
 </body>
26 27
 </html>
1  railties/lib/rails/generators/rails/app/templates/public/500.html
@@ -21,5 +21,6 @@
21 21
   <div class="dialog">
22 22
     <h1>We're sorry, but something went wrong.</h1>
23 23
   </div>
  24
+  <p>If you are the application owner check the logs for more information.</p>
24 25
 </body>
25 26
 </html>

0 notes on commit 4c82d3f

Please sign in to comment.
Something went wrong with that request. Please try again.