honeybadger-io/honeybadger-ruby — pull request #6 by indirect (2012-11-29 05:39:57+00:00)
Title: Report Sinatra errors

Even though Honeybadger claims to support Sinatra natively, my Sinatra app didn't report errors until I added this code:

```ruby
error do |e|
request.env['rack.exception'] = request.env['sinatra.error']
end
```

This patch changes `Honeybadger::Rack` to also check the `sinatra.error` env, and report it as well.