Skip to content

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 force-pushed the add/js-exception-logging branch from 47fe77b to 57e6f1a Compare March 6, 2024 20:48
@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
@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.

4 participants