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

chore(suite-native): capture console errors to sentry on mobile too #14439

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

matejkriz
Copy link
Member

Description

Desktop Suite reports console.error to Sentry, but mobile not yet. But console.error is used also on some places in shared common code instead of throwing an error like for example parsing message system config, so we miss those errors.

Example test error: https://satoshilabs.sentry.io/issues/5873989872/?environment=debug&project=4504214699245568&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=0

image

@matejkriz matejkriz requested a review from a team as a code owner September 19, 2024 12:58
@matejkriz matejkriz added the mobile Suite Lite issues and PRs label Sep 19, 2024
@@ -107,7 +107,6 @@
"electron": "30.3.1",
"@types/node": "20.12.7",
"@types/react": "18.2.55",
"@sentry/types": "7.92.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

I just removed this resolution and typescript wasn't complaining, so I guess it's not needed anymore.

@matejkriz matejkriz force-pushed the chore/native/sentry-capture-consoler-errors branch from 08da049 to 036fe2d Compare September 19, 2024 15:09
@matejkriz matejkriz merged commit d9ed13e into develop Sep 20, 2024
83 of 88 checks passed
@matejkriz matejkriz deleted the chore/native/sentry-capture-consoler-errors branch September 20, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Suite Lite issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants