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

Add support to send JS exceptions to Sentry #202

Merged
merged 9 commits into from
Mar 8, 2024
Merged

Conversation

jhnstn
Copy link
Member

@jhnstn jhnstn commented Mar 6, 2024

Related Changes:

This PR expands the Crash logging service to support logging JavaScript exceptions to Sentry. This will allow hybrid sources like React Native (used in Gutenberg Mobile) to log exceptions with detailed information and symbolicated stack traces, which will greatly simplify the crash debugging process.

To test

Since it involves testing exceptions, we need to modify the code to force them and generate an installable build. A test PR has been created for this purpose, follow the testing instructions from wordpress-mobile/gutenberg-mobile#6654.

@jhnstn jhnstn changed the title [WIP] Add support to send JS exceptions to Sentry Add support to send JS exceptions to Sentry Mar 6, 2024
@jhnstn jhnstn assigned jhnstn and fluiddot and unassigned jhnstn Mar 6, 2024
@jhnstn jhnstn marked this pull request as ready for review March 6, 2024 20:57
@wzieba
Copy link
Member

wzieba commented Mar 7, 2024

hi folks 👋 Just a heads-up that I recently bumped Sentry SDK to new major version #201 . Maybe we could sync this branch with trunk to make sure that the SDK bump didn't affect work here?

@fluiddot
Copy link
Contributor

fluiddot commented Mar 7, 2024

hi folks 👋 Just a heads-up that I recently bumped Sentry SDK to new major version #201 . Maybe we could sync this branch with trunk to make sure that the SDK bump didn't affect work here?

Hey @wzieba 👋 , thanks for the heads up 🙇 ! Sure, we'll update with trunk to confirm it works with the latest Sentry version.

Copy link
Contributor

@fluiddot fluiddot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎊 !

@jhnstn jhnstn merged commit 7f6f941 into trunk Mar 8, 2024
9 checks passed
@jhnstn jhnstn deleted the add/js-exception-logging branch March 8, 2024 13:59
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