| 1234567891011121314151617 |
- import * as Sentry from "@sentry/nextjs";
- import { stripUuids } from "@/lib/sentry-utils";
- const dsn = process.env.NEXT_PUBLIC_SENTRY_DSN;
- if (dsn) {
- Sentry.init({
- dsn,
- tracesSampleRate: 0.1,
- beforeSend(event) {
- return stripUuids(event);
- },
- beforeSendTransaction(event) {
- return stripUuids(event);
- },
- });
- }
|