We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9e597 commit b647d19Copy full SHA for b647d19
server/utils/monitoring.ts
@@ -1,7 +1,10 @@
1
-import { PrismaInstrumentation } from '@prisma/instrumentation'
+import prismaInstrumentation from '@prisma/instrumentation'
2
import * as Sentry from '@sentry/node'
3
import { nodeProfilingIntegration } from '@sentry/profiling-node'
4
5
+// prisma's exports are wrong...
6
+const { PrismaInstrumentation } = prismaInstrumentation
7
+
8
export function init() {
9
Sentry.init({
10
dsn: process.env.SENTRY_DSN,
0 commit comments