-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Lint/RescueWithoutErrorClass #23
Comments
Actually, we want |
I expressed some concerns about the To elaborate. I think it's a pretty common use case for some code (e.g. a Controller) to catch all errors, do some work (log, add a flash message, etc...), and/or reraise with a localized error type. That cop has been removed, and replaced with |
i agree that rescuing StandardError as long as you are re-raising (original or with a custom module-specific exception class wrapping the original) is both perfectly acceptable and a common thing I do. |
See: samvera/hyrax#2655 (comment)
The text was updated successfully, but these errors were encountered: