-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint/ShadowedException can't handle multiple rescue blocks #3388
Comments
/cc @rrosenblum @jonas054 |
Definitely sounds like a bug. I thought I had a test case to check for a condition like this. I will take a look. |
Interesting, rescuing a single custom exception works fine. Rescueing multiple custom exceptions in the same |
…e custom exceptions
…e custom exceptions (rubocop#3389)
If you don't know the inheritance between exceptions, why are you complaining about shadowing?
Expected behavior
Actual behavior
Steps to reproduce the problem
See above
RuboCop version
The text was updated successfully, but these errors were encountered: