Skip to content

Native events ignored via beforeSend still impact release health #1062

@timfish

Description

@timfish

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions