Skip to content
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

Make unhandled overridable for React Native errors #1039

Conversation

fractalwrench
Copy link
Contributor

@fractalwrench fractalwrench commented Dec 9, 2020

Goal

Makes event.unhandled overridable in React Native errors passed from the JS layer. This allows users to decide whether specific errors apply to their stability score.

Changeset

Calculate the original unhandled value from the unhandledOverridden flag, and pass it to SeverityReason when constructing an event.

Testing

Added unit tests to verify deserialization of event payload. PLAT-5595 will add E2E tests separately to the JS repo.

@fractalwrench fractalwrench changed the title Make unhandled overridable in react native errors Make unhandled overridable for React Native errors Dec 9, 2020
@fractalwrench fractalwrench force-pushed the PLAT-5595/unhandled-override-rn branch from 060522c to fc2b6be Compare December 9, 2020 18:19
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1441.5 1361.3
arm64_v8a 369.25 287.32
armeabi 348.77 266.85
armeabi_v7a 332.38 250.47
x86 410.2 328.27
x86_64 389.72 307.81

Generated by 🚫 Danger

@fractalwrench fractalwrench marked this pull request as ready for review December 10, 2020 12:08
@fractalwrench fractalwrench merged commit 0f76072 into integration/road-732-unhandled-override Dec 10, 2020
@fractalwrench fractalwrench deleted the PLAT-5595/unhandled-override-rn branch December 10, 2020 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants