Files
captable/sentry.client.config.ts
T
2024-06-24 23:32:34 +05:30

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,
}),
],
});