Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.7.0
Framework Version
10.0.0
Link to Sentry event
No response
SDK Setup
import*asSentryfrom'@sentry/node';import{nodeProfilingIntegration}from'@sentry/profiling-node';// Ensure to call this before importing any other modules!Sentry.init({dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0',integrations: [// Add our Profiling integrationnodeProfilingIntegration(),],// Add Performance Monitoring by setting tracesSampleRate// We recommend adjusting this value in productiontracesSampleRate: 1.0,// Set sampling rate for profiling// This is relative to tracesSampleRateprofilesSampleRate: 1.0,});Steps to Reproduce
- Add 2 separate modules with each having their own exception filter
- Integrate sentry as said in the docs (https://docs.sentry.io/platforms/javascript/guides/nestjs/)
- Old exceptions are not being handled
Reproducable github code: https://github.com/CSenshi/nest-sentry-exception-filter-bug
Expected Result
After integration exceptions should be handled/filtered as they were before
Actual Result
Errors are not being handled and return
{"statusCode":500,"message":"Internal server error"}
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.7.0
Framework Version
10.0.0
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
Reproducable github code: https://github.com/CSenshi/nest-sentry-exception-filter-bug
Expected Result
After integration exceptions should be handled/filtered as they were before
Actual Result
Errors are not being handled and return
{"statusCode":500,"message":"Internal server error"}