feat: support sentry report (#1729)

This commit is contained in:
Himself65
2023-03-28 14:06:16 -05:00
committed by GitHub
parent c87aad436f
commit c9318d3790
9 changed files with 349 additions and 19 deletions

View File

@@ -0,0 +1,8 @@
import * as Sentry from '@sentry/nextjs';
const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
});