17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import { env } from "@/env";
|
|
import * as Sentry from "@sentry/nextjs";
|
|
|
|
Sentry.init({
|
|
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
|
|
tracesSampleRate: 1,
|
|
debug: false,
|
|
replaysOnErrorSampleRate: 1.0,
|
|
replaysSessionSampleRate: 0.1,
|
|
integrations: [
|
|
Sentry.replayIntegration({
|
|
maskAllText: true,
|
|
blockAllMedia: true,
|
|
}),
|
|
],
|
|
});
|