vetkit.js.quality.empty-catch
Empty catch block. The error is silently discarded, which hides failures and makes bugs hard to diagnose.
Last updated:
Suite: Code quality
javascript, typescript
Empty catch block. The error is silently discarded, which hides failures and makes bugs hard to diagnose.
Category: QUALITY · Engine rule severity: INFO
How to fix it
Handle the error, log it, or rethrow it. If ignoring it is intentional, add a comment explaining why.
References
Source: packages/engine/rules/quality/javascript.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.