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 swap error logging to Sentry #5322

Merged
merged 4 commits into from
Oct 25, 2024
Merged

Add swap error logging to Sentry #5322

merged 4 commits into from
Oct 25, 2024

Conversation

samholmes
Copy link
Contributor

@samholmes samholmes commented Oct 24, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

src/util/tracking.ts Show resolved Hide resolved
The error captured should always be of type `Error` some stack traces
can be included.
We cast unexpected error types to String and include that in the
unknown error message.
We'll capture these warning type errors using Sentry's API.
We'll include details relevant for the swap for indexing purposes, but
NEVER include personal or sensitive information from the user's
activity.
By using the context object, we allow for error name/message information
to be indexed properly in Sentry without losing the contextual
information that comes along with the error.
@samholmes samholmes changed the title fixup! Fix error massaging in trackError Add swap error logging to Sentry Oct 25, 2024
@samholmes samholmes merged commit 91db1a8 into develop Oct 25, 2024
2 checks passed
@samholmes samholmes deleted the sam/swap-error-tracking branch October 25, 2024 23:07
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.

2 participants