-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reportUnhandledPromiseRejectionsAsHandled #2225
reportUnhandledPromiseRejectionsAsHandled #2225
Conversation
@gingerbenw hi, just installed 8.1.0 and on react-native there's no typings for |
thanks @efstathiosntonas! that one’s entirely on me. I’ll aim to get a fix for this out straight away. |
Hi @efstathiosntonas - we've just released |
@gingerbenw hi, tried 8.1.1 and still get the error. I believe it expects the typings to come from: type Configurable = 'onError' | 'onBreadcrumb' | 'logger' | 'metadata' | 'user' | 'context' | 'plugins' | 'codeBundleId' | 'featureFlags'
type ReactNativeConfig = Pick<ReactNativeSchema, Configurable>
interface ReactNativeBugsnagStatic extends Client {
start(jsOpts?: ReactNativeConfig): Client
isStarted(): boolean
} which lives in |
Hi @efstathiosntonas - apologies again. Could you please try release |
Hi @gingerbenw, just tested it, all good now! Thank you! |
Goal
To be able to manually set unhandled promise rejections to be considered handled to improve stability score
Changeset
Add new
reportUnhandledPromiseRejectionsAsHandled
config optionTesting
Added new unit tests