2022-02-15 08:43:11 +01:00
|
|
|
import * as Sentry from '@sentry/nextjs'
|
2023-10-07 12:03:42 +02:00
|
|
|
import prisma from '@typebot.io/lib/prisma'
|
2022-02-15 08:43:11 +01:00
|
|
|
|
|
|
|
Sentry.init({
|
2023-08-28 09:13:53 +02:00
|
|
|
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
2023-02-06 09:48:48 +01:00
|
|
|
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-viewer',
|
2023-10-07 12:03:42 +02:00
|
|
|
integrations: [
|
|
|
|
new Sentry.Integrations.Prisma({
|
|
|
|
client: prisma,
|
|
|
|
}),
|
|
|
|
],
|
2022-02-15 08:43:11 +01:00
|
|
|
})
|