airbrake/airbrake — pull request #241 by rodrigosaito (2013-09-12 23:30:35+00:00)
Title: Handle sinatra errors

When using sinatra airbrake is not cathing errors.

I tried this, but no success: https://github.com/airbrake/airbrake/wiki/Using-Airbrake-in-Sinatra-apps

So I added the variable sinatra.error to Rack middleware