You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref: rubocop/rubocop-rails#1547
Using `Kernel.suppress(Exception) { ?? }` is effectively equivalent to:
```ruby
begin
??
rescue Exception
end
```
Since rescuing `Exception` directly is discouraged by `Lint/RescueException`,
it makes sense to discourage this usage as well.
0 commit comments