1 parent
6e23f1533b
commit
419325db12
52 files changed
+1329
-110
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import { assertProductionEnv } from "@/config/env";
|
||||
import { scrubSentryEvent, sentryInitOptions } from "@/infra/observability/capture";
|
||||
|
||||
export async function register() {
|
||||
assertProductionEnv(process.env);
|
||||
const options = sentryInitOptions(process.env.SENTRY_DSN);
|
||||
if (!options) return;
|
||||
const Sentry = await import("@sentry/nextjs");
|
||||
|
||||
Reference in new issue
Block a user