MarsBased / pathfinder-rails

Rails Template for MarsBased projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Rubocop error in Rollbar config

xredo opened this issue · comments

This line produces a Rubocop error:

https://github.com/MarsBased/pathfinder/blob/b855cea85850e6e821e0f0c10df611a35b1120f1/recipes/rollbar.rb#L13

Rubocop error: Performance/Redundant Merge.

It is solved by using: config.exception_level_filters['ActionController::RoutingError'] = 'ignore' instead.