You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
403 B
16 lines
403 B
import { CaptureConsole, HttpClient } from "@sentry/integrations"; |
|
import * as Sentry from "@sentry/react"; |
|
|
|
import { conf } from "@/setup/config"; |
|
import { SENTRY_DSN } from "@/setup/constants"; |
|
|
|
Sentry.init({ |
|
dsn: SENTRY_DSN, |
|
release: `movie-web@${conf().APP_VERSION}`, |
|
sampleRate: 0.5, |
|
integrations: [ |
|
new Sentry.BrowserTracing(), |
|
new CaptureConsole(), |
|
new HttpClient(), |
|
], |
|
});
|
|
|