lecoffre-front/sentry.server.config.ts
Vins 43e83f4d35 Revert "Merge branch 'staging' into dev"
This reverts commit 8391aba306cfbad605ef83d8278fcfdb8a345a87, reversing
changes made to 7daac4ab3a779451831f7895bdfa57806e1f1e36.
2024-02-12 14:44:59 +01:00

16 lines
604 B
TypeScript

// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from "@sentry/nextjs";
Sentry.init({
dsn: "https://ca6a89e8b480c814e1b5828b8412c681@o4506382103281664.ingest.sentry.io/4506399972130816",
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});