no-log-only-catch
Disallow catch clauses that only log (or silently do nothing) and then swallow the error; rethrow or handle it instead.
Why
Swallowing an exception after logging lets execution continue as if the operation succeeded.
Fix
Rethrow the error, return an explicit fallback, or perform concrete recovery.
Examples
try { run();} catch (error) { console.error(error);}try { run();} catch (error) { console.error(error); throw error;}