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

Add config to customize the default error message #470

Merged
merged 1 commit into from
Feb 28, 2014

Conversation

arthurnn
Copy link
Contributor

Add a lowlevel_error_handler, so we can customize the default error message.

example:

lowlevel_error_handler do
  [302, {'Content-Type' => 'text', 'Location' => 'foo.html'}, ['302 found']]
end

[fix #458]

Add a lowlevel_error_handler, so we can customize the default error
message.

example:

```
lowlevel_error_handler do
  [302, {'Content-Type' => 'text', 'Location' => 'foo.html'}, ['302 found']]
end
```

[fix puma#458]
evanphx added a commit that referenced this pull request Feb 28, 2014
Add config to customize the default error message
@evanphx evanphx merged commit 7a48fe4 into puma:master Feb 28, 2014
@nathany
Copy link

nathany commented Mar 3, 2014

Thanks @arthurnn

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.

Maytag(tm) repair man error is confusing our users
3 participants