- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
Closed as duplicate
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.50.0
Framework Version
No response
Link to Sentry event
Reproduction Example/SDK Setup
https://github.com/epicweb-dev/epic-stack/blob/main/server/utils/monitoring.ts
The most relevant bit is that I'm using Sentry.prismaIntegration().
Steps to Reproduce
- Install the latest @prisma/clientand@sentry/nodepackages in one project
- Notice the error
Expected Result
No errors
Actual Result
Error:
prisma:error this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
healthcheck ❌ {
error: TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309) {
clientVersion: '6.1.0'
}
}
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309)
HEAD / 200 - - 123.095 ms
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
TypeError: this.getGlobalTracingHelper(...).dispatchEngineSpans is not a function
at ho.dispatchEngineSpans (/myapp/node_modules/@prisma/client/runtime/library.js:121:1715)
at Object.connect (/myapp/node_modules/@prisma/client/runtime/library.js:111:11492)
at t (/myapp/node_modules/@prisma/client/runtime/library.js:112:2309
Related: prisma/prisma#25978
shadowlik, penspinner, TanerKp, Nfinished, affeldt28 and 1 more
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Product Owner