Skip to content

Commit

Permalink
fix: upgrade Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Jun 9, 2024
1 parent 5e64622 commit 158f3e3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/api/src/instrument.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import * as Sentry from "@sentry/node";
import { prisma } from "lib/data/prisma";

Sentry.init({
dsn: "https://308dd96b826c4e38a814fc9bae681687@o518232.ingest.sentry.io/6553288",
integrations: [
new Sentry.Integrations.Http({ tracing: true }),
new Sentry.Integrations.Prisma({ client: prisma }),
Sentry.httpIntegration(),
Sentry.prismaIntegration(),
Sentry.nestIntegration(),
Sentry.consoleIntegration(),
Sentry.onUnhandledRejectionIntegration(),
Sentry.onUncaughtExceptionIntegration(),
],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
Expand Down

0 comments on commit 158f3e3

Please sign in to comment.