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

Already on GitHub? Sign in to your account

README: "Sinatra installs different `not_found` handlers for development environment." What does this mean? #610

kgrz opened this Issue Jan 10, 2013 · 1 comment


None yet
3 participants

kgrz commented Jan 10, 2013

This is a bit naive.

I was going through the README and couldn't understand this part. The statement is present one line above this: https://github.com/sinatra/sinatra/blob/master/README.rdoc#rack-middleware

Recently, there was an issue posted where the not_found module gets called twice in production and only once in development. Is this setting somehow related to that issue?

The issue I mentioned is: #589


blambeau commented Jan 11, 2013

I would also be glad to see that sentence made clearer. I've always experimented lots of difficulties writing robustness tests (testing unhappy paths) for sinatra applications, most probably because Sinatra's error handling behavior changes in subtle ways depending on the environment, which is odd IMHO.

@rkh rkh closed this Feb 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment