ASYNC004warningPro
silent-catch
Promise catch handler only logs - errors silently swallowed
Applies to: JavaScript, TypeScript
Why this matters
When you catch a promise error and only log it, the calling code has no way to know the operation failed. This leads to silent failures where users don't get confirmation emails, data isn't saved, or operations appear to succeed when they actually failed.
Catch it before it ships
pip install stablestack # or: npx stablestackstablestack # scans your project, ASYNC004 includedstablestack explain ASYNC004ASYNC004 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.
False positive in your codebase? Suppress a single line with # noqa: ASYNC004