Permalink
Browse files

Include information about :after_handler exception setting

  • Loading branch information...
1 parent b41a047 commit bf66eb922c5106deab93334a6bbe5af78b4ea011 @matschaffer matschaffer committed with rkh Jul 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rdoc
View
@@ -1382,6 +1382,9 @@ You can also hand in an array in order to disable a list of protections:
[show_exceptions] show a stack trace in the browser when an exception
happens. Enabled by default when <tt>environment</tt>
is set to <tt>"development"</tt>, disabled otherwise.
+ Can also be set to <tt>:after_handler</tt> to trigger
+ app-specified error handling before showing a stack
+ trace in the browser.
[static] Whether Sinatra should handle serving static files.
Disable when using a Server able to do this on its own.

0 comments on commit bf66eb9

Please sign in to comment.