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

13 lines
307 B
TypeScript
Raw Normal View History

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