Include information about :after_handler exception setting
This commit is contained in:
parent
4365cdae8a
commit
f7d2b43ed9
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue