-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Nuxt] beforeSend() is not called #13588
Comments
Hi @lud-hu thanks for writing in! This sounds a bit off to be honest as the Nuxt SDK doesn't do anything special here as opposed to our other SDKs. Could you provide a minimal reproduction that we can use to check ourselves? Alternatively, I'd suggest to check the request payload in your browser dev tools network tab and check if the values are really still there. One thing that comes to my mind: If you check the issue in the Sentry UI, we don't always show you the latest event of the same issue. Any chance that you were looking at an older event that still has the data? You can jump to the latest event by clicking this button: |
Thank you @Lms24 for the insights! I now found out some more details on why my code didn't work: The But even though there is no |
OK, I now found some Sentry docs pointing me to the "Prevent Storing of IP Addresses" setting in the project settings which turns of server side derivation of IP adresses ("Serverside SDKs that instrument incoming requests will attempt to pull the IP address from the HTTP request data). So everything seems to work fine with the nuxt/JS SDK. Sorry and thanks for your reply!! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nuxt
SDK Version
8.28.0
Framework Version
Nuxt 3.13.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
beforeSend()
do not have any effectExpected Result
The event payload can be modified in the
beforeSend()
as seen in the docsActual Result
The event payload stays the same (and includes all user data I want to scrub before sending the event) no matter what I do in the Sentry.init()
The text was updated successfully, but these errors were encountered: