How to use the @sentry/electron.Severity function in @sentry/electron

To help you get started, we’ve selected a few @sentry/electron examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Jigsaw-Code / outline-server / src / server_manager / electron_app / index.ts View on Github external
shouldAddBreadcrumb: (breadcrumb) => {
    // Don't submit breadcrumbs for console.debug.
    if (breadcrumb.category === 'console') {
      if (breadcrumb.level === sentry.Severity.Debug) {
        return false;
      }
    }
    return true;
  },
  beforeBreadcrumb: (breadcrumb) => {