Await promises inside try/catch and never leave a promise unhandled. An unhandled rejection can crash the process or silently drop a failure.
Why This Matters
Unhandled promise rejections terminate Node processes and bypass error boundaries, causing silent failures or crashes.
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.