From e4281a852a4d046db6d47cf2ac58b49653873d76 Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Fri, 10 Nov 2023 08:47:55 -0300 Subject: [PATCH] feat: Add Sentry to edge (#12304) --- apps/web/sentry.edge.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/web/sentry.edge.config.ts b/apps/web/sentry.edge.config.ts index cb0ff5c3b5..842f09fccc 100644 --- a/apps/web/sentry.edge.config.ts +++ b/apps/web/sentry.edge.config.ts @@ -1 +1,5 @@ -export {}; +import * as Sentry from "@sentry/nextjs"; + +Sentry.init({ + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, +});