public
Rubygem
Description: Don't mind this, go to http://github.com/integrity/integrity
Homepage: http://integrityapp.com
Clone URL: git://github.com/foca/integrity.git
Add a nice 500 page (hm, I was sure we had this already...)
foca (author)
Thu Nov 20 09:44:26 -0800 2008
commit  15af31307e22df99d83339bef76f816b45b5d064
tree    caa708d0e1789e4ed08b3aeb2712c39303e7f14b
parent  a7f3bdc678492d935888f3349ddb2c26dcc559ed
0
...
25
26
27
 
 
 
 
 
 
28
29
30
...
25
26
27
28
29
30
31
32
33
34
35
36
0
@@ -25,6 +25,12 @@ not_found do
0
   show :not_found, :title => "lost, are we?"
0
 end
0
 
0
+error do
0
+  @error = request.env['sinatra.error']
0
+  status 500
0
+  show :error, :title => "something has gone terribly wrong"
0
+end
0
+
0
 before do
0
   # The browser only sends http auth data for requests that are explicitly
0
   # required to do so. This way we get the real values of +#logged_in?+ and
...
213
214
215
 
 
 
 
 
 
 
216
217
218
...
213
214
215
216
217
218
219
220
221
222
223
224
225
0
@@ -213,6 +213,13 @@ a
0
         :family = !nice_fonts
0
     dd
0
       :line-height 1.4
0
+    
0
+    .backtrace
0
+      :margin 1em 0
0
+      :overflow scroll
0
+      :height 30em
0
+      :border = 1px solid !rule_color
0
+      :line-height 1.6
0
 
0
   #projects
0
     :margin 1em 0 2em

Comments