How to use the @sentry/integrations.CaptureConsole function in @sentry/integrations

To help you get started, we’ve selected a few @sentry/integrations 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 joincivil / Civil / packages / dapp / src / index.tsx View on Github external
integrations(integrations: any[]): any[] {
    return integrations
      .filter(integration => integration.name !== "Breadcrumbs" || config.ENVIRONMENT === "production")
      .concat(new CaptureConsole({ levels: ["error"] }));
  },
});