2
0
Files
bot/apps/viewer/sentry.server.config.ts

13 lines
306 B
TypeScript
Raw Normal View History

import * as Sentry from '@sentry/nextjs'
import prisma from '@typebot.io/lib/prisma'
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-viewer',
integrations: [
new Sentry.Integrations.Prisma({
client: prisma,
}),
],
})