public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Search Repo:
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
If a Rails app exits during startup, explicitly tell people to read the 
web server's log file and not the Rails log file.
Hongli Lai (Phusion) (author)
Mon May 05 07:59:33 -0700 2008
commit  db775b0594384ad6eccad9449f1f92a43a691f8f
tree    8a3d4a2d5f9fedee55983948b2b5a12d7dfb2e6b
parent  5833b5d217b4aac527fd2ec3308410e2dc8f97bc
...
4
5
6
7
8
 
 
 
9
10
11
...
4
5
6
 
 
7
8
9
10
11
12
0
@@ -4,8 +4,9 @@
0
 
0
   The application has exited during startup (i.e. during the evaluation of
0
   <tt>config/environment.rb</tt>). The error message may have been
0
- written to the web server's log file. Please check the web server's log file
0
- to find out why the application exited.
0
+ written to the web server's log file. Please check the <b>web server's</b>
0
+ log file (i.e. <em>not</em> the Rails log file) to find out why the application
0
+ exited.
0
   
0
   <dl>
0
   <dt>Application root:</dt>
...
100
101
102
 
 
 
103
104
105
...
100
101
102
103
104
105
106
107
108
0
@@ -100,6 +100,9 @@
0
   e = StandardError.new("Some error message")
0
   render_error_page(e, 'general_error.html',
0
     'general_error')
0
+
0
+ e = StandardError.new("Some error message")
0
+ render_error_page(e, 'app_exited.html', 'app_exited_during_initialization')
0
 end
0
 
0
 start

Comments

    No one has commented yet.