Broken `master` due to the enablement of Naming/RescuedExceptionsVariableName
Job #2833411451 failed for f7ce0acc:
lib/gitlab/audit/auditor.rb:110:45: C: Naming/RescuedExceptionsVariableName: Use e instead of error.
rescue ActiveRecord::RecordInvalid => error
^^^^^
lib/gitlab/audit/auditor.rb:149:45: C: Naming/RescuedExceptionsVariableName: Use e instead of error.
rescue ActiveRecord::RecordInvalid => error
^^^^^
The rule was enabled in !94729 (merged).