The monkeypatching that the rollbar gem does only seems to patch Rack::Builder and not Sinatra. So we do this manually, which is also a bit more explicit. I've also added a setting to specify the environment so that exceptions can be matched up to deploys.
The monkeypatching that the rollbar gem does only seems to patch
Rack::Builder
and not Sinatra. So we do this manually, which is also a bit more explicit. I've also added a setting to specify the environment so that exceptions can be matched up to deploys.