rollbar-gem icon indicating copy to clipboard operation
rollbar-gem copied to clipboard

How to control position of Rollbar middleware in Rails stack

Open v-kolesnikov opened this issue 3 years ago • 1 comments

How I can pге Rollbar middleware to the exactly position in Rails application stack?

v-kolesnikov avatar Jan 31 '22 14:01 v-kolesnikov

If using rack or sinatra, it can be added manually, and the standard middleware methods like config.middleware.insert_after will work.

For rails, there currently isn't a config flag to prevent the gem from automatically inserting the middleware. I think it makes sense to add one.

waltjones avatar Mar 31 '22 15:03 waltjones