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

Native events ignored via beforeSend still impact release health #1062

Closed
timfish opened this issue Jan 20, 2025 · 0 comments · Fixed by #1066
Closed

Native events ignored via beforeSend still impact release health #1062

timfish opened this issue Jan 20, 2025 · 0 comments · Fixed by #1066

Comments

@timfish
Copy link
Collaborator

timfish commented Jan 20, 2025

Currently, the following code will skip sending events from unknown child processes to Sentry but this still impacts the release health crash rate.

Sentry.init({
  dsn: '__DSN__',
  beforeSend: (event) => {
    return event?.tags?.['process.type'] === 'unknown' ? null : event;
  },
});

Once these are merged and released, the Electron SDK won't need to forcibly set sessions as crashed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant