Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Include information about :after_handler exception setting #547

merged 1 commit into from

3 participants


No description provided.


This pull request fails (merged f7d2b43 into 4365cda).

@rkh rkh merged commit 048af1d into sinatra:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  README.rdoc
3  README.rdoc
@@ -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
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.
Something went wrong with that request. Please try again.