vetkit.ruby.quality.rescue-exception
rescue Exception also rescues SignalException, SystemExit and NoMemoryError, so the process can no longer be interrupted or shut down cleanly.
Last updated:
Suite: Code quality
ruby
rescue Exception also rescues SignalException, SystemExit and NoMemoryError, so the process can no longer be interrupted or shut down cleanly.
Category: QUALITY · Engine rule severity: WARNING
How to fix it
Rescue StandardError (a bare rescue) or the specific errors you expect.
References
Source: packages/engine/rules/quality/ruby.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.