Include information about :after_handler exception setting

This commit is contained in:
Mat Schaffer 2012-07-06 15:03:02 -04:00
parent 4365cdae8a
commit f7d2b43ed9
1 changed files with 3 additions and 0 deletions

View File

@ -1417,6 +1417,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 [show_exceptions] show a stack trace in the browser when an exception
happens. Enabled by default when <tt>environment</tt> happens. Enabled by default when <tt>environment</tt>
is set to <tt>"development"</tt>, disabled otherwise. 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. [static] Whether Sinatra should handle serving static files.
Disable when using a Server able to do this on its own. Disable when using a Server able to do this on its own.