An empty or log-only catch block hides failures, leaving the app in an inconsistent state with no diagnostic trail. Always handle, rethrow, or surface caught errors.
Why This Matters
Swallowed errors produce silent data corruption and bugs that are nearly impossible to reproduce or debug in production.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.