> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# promise-return-escapes-catch

> Returning a promise directly from a protected try block can bypass its catch on rejection.

## What it flags

An async function returns a typed promise directly from the `try` block of a `try`/`catch`. A rejection can bypass that catch.

## How to review or fix

Use `return await` when the catch owns the failure.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "promise-return-escapes-catch": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.