Naming/RescuedExceptionsVariableName
does not handle multiple rescues
#6902
Labels
Naming/RescuedExceptionsVariableName
does not handle multiple rescues
#6902
Just after upgrading to Rubocop
v0.67.2
, I discovered that if we have more that onerescue
, only the first will be flagged with an offense.Expected behavior
I should get an offense from Rubocop for any individual
rescue
that does not follow the defined configuration.Actual behavior
Only the first
rescue
is being flagged.Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: