/** * Sentry edge runtime configuration * This file configures Sentry for edge runtime */ import * as Sentry from "@sentry/nextjs"; const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN; if (SENTRY_DSN) { Sentry.init({ dsn: SENTRY_DSN, environment: process.env.NODE_ENV || "development", tracesSampleRate: process.env.NODE_ENV === "production" ? 0.1 : 1.0, }); }