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.
1 parent f524090 commit f06aa41Copy full SHA for f06aa41
src/index.tsx
@@ -3,12 +3,14 @@ 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
9
import App from "./App"
10
11
Sentry.init({
12
dsn: process.env.SENTRY_DSN,
- integrations: [new BrowserTracing()],
13
+ integrations: [new BrowserTracing(), new CaptureConsoleIntegration({levels: ['error']})],
14
tracesSampleRate: 1.0,
15
});
16
0 commit comments