Created
November 12, 2008 21:52
-
-
Save adamwiggins/24279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error do | |
| e = request.env['sinatra.error'] | |
| puts e.to_s | |
| puts e.backtrace.join("\n") | |
| "Internal server error" | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment