We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4397c6b + 4ceb796 commit d00fd93Copy full SHA for d00fd93
src/index.tsx
@@ -1,18 +1,16 @@
1
import * as React from 'react';
2
import * as ReactDOM from 'react-dom';
3
-
4
import * as Sentry from '@sentry/react';
5
import { BrowserTracing } from '@sentry/tracing';
6
-import { CaptureConsole as CaptureConsoleIntegration } from '@sentry/integrations';
7
8
import App from './App';
9
10
Sentry.init({
11
dsn: process.env.SENTRY_DSN,
12
integrations: [
13
- new BrowserTracing(),
14
- new CaptureConsoleIntegration({ levels: ['error'] }),
+ new BrowserTracing()
15
],
+ ignoreErrors: [/GraphQL/i, /Failed to fetch/i],
16
tracesSampleRate: 1.0,
17
});
18
0 commit comments