mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
import * as Sentry from "@sentry/nextjs";
|
|
import prisma from "@typebot.io/prisma";
|
|
|
|
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,
|
|
}),
|
|
],
|
|
});
|