Unhandled promise rejection or async error
Promise chains started in a function should terminate with explicit rejection handling.
#Metadata
#Why it matters
Floating `.then(...)` chains without a terminal catch can reject outside the intended error-handling path and make failures hard to trace.
#Remediation
Await the operation in a try/catch block or attach a terminal `.catch(...)` handler to the promise chain.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.unhandled-async-error.rule.yaml.