Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Capture exception messages of raised NotFound and BadRequest #1210
@zzak I've noticed that we are reimplementing a lot of Rack::Response in Sinatra::Base::Helpers. I'm guessing this is due to the fact that Rack has improved over time to include more and more functionality. Can we use the delegation pattern to clean this up? Take a look at what I've done here. We can remove a bunch of tests, too, if we think this is a good idea.
There's a lot going on in this commit all of a sudden so let me know if you'd like me to break it up.