Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1548 (sinatra) Describe raise_errors better in README and configuration #305

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

carlwiedemann
Copy link

This is sibling work for what was done in sinatra/sinatra#1917

I summarized the changes in a less verbose way in the configuraiton.markdown file.

I believe I have followed the instructions and done the required steps, but please let me know if anything else is necessary. Thanks.

Comment on lines +249 to +253
The behavior of `:raise_errors` for unhandled errors depends on environment
when set to `true`. If the environment is `production`, the HTTP response body
will contain a generic error message, e.g. `"An unhandled lowlevel error
occurred. The application logs may have details."` If the environment is not
`production`, the HTTP response body will contain the verbose error backtrace.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder of this isn't describing the behaviour of Puma? (which is about to be tweaked with puma/puma#3094)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants