Closed
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/nestjs
SDK Version
9.10.1
Framework Version
Nest 10.3.10
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
- Create a NestJS app.
- Add a controller with a simple log.
- Add a NestJS interceptor which sets tags/context/user conditionally (maybe based on some header/authentication).
- Hit the first request, which should set some tag/context/user.
- Hit the second request, which should not set any request and log an error to Sentry.
Expected Result
The tracked should not have any custom tag/context or user.
Actual Result
The tracked error have the tags/context/user from the previous request.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner