getsentry / getsentry/sentry-react-native

Mark unhandled promise rejections as `handled: false`

Open
#4,141 0 comments 0 reactions 0 assignees View on GitHub
Errors Feature React-Native
Dominant language
TypeScript
Stars
1.8k
Forks
366
Avg merge
1d 9h
Merged PRs (30d)
89

Description

### 🛑 Blocked by backend Release Health changes

This change would require change of calculating crash rate independent of `handled: false`. As rejected promises do not cause a crash in RN.

### Description

We can't do this at the moment because the `handled` flag is used to calculate the Crash Rate in the Release Health product.

- Related to https://github.com/getsentry/sentry-react-native/issues/4093
- Related to Stale RFC https://github.com/getsentry/rfcs/pull/10
- The same issue as Flutter Unhandled Errors which do not cause crash of the app

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.