-
-
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
@sentry/cloudflare not sending debugIds ? #14841
Comments
Hi @bhanuka-yd, thanks for writing in. Could you please set |
Hi @andreiborza, sure here's the output. rollup -c rollup.config.mjs [sentry-rollup-plugin] Info: Using environment variables configured in ".env.sentry-build-plugin". src/index.ts → dist/worker.js...
Source Map Upload Report |
Hi @bhanuka-yd, I didn't find anything yet that would prohibit debug ids from being applied to error events. Before we dig into this deeper: Can you confirm that the files where debug ids were injected correctly are the exact same files that get deployed to cloudflare? The If this is the case, we need to dive deeper into SDK internals to understand what's going on. If you can, please provide a minimal reproduction, for example in the form of a GH repo, zip file or whatever else works for you. If you can't, please
Side-note: I did find a bug in our debug id application logic but it's rather an edge case, where debug ids were not correctly applied to events containing multiple errors. However I don't think this has anything to do with your problem. Anyway, the found bug will be fixed via #14881. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/cloudflare
SDK Version
8.47.0
Framework Version
wrangler: 3.99.0
Link to Sentry event
https://hyperbyte.sentry.io/issues/15388878/events/6faf01ca3f04449081bf9dab43025a33/
Reproduction Example/SDK Setup
index.js
error-generating-file.js
Sentry.captureException(result.error);
rollup.config.js
wrangler.toml
Steps to Reproduce
@sentry/cloudflare
Sentry.captureException()
Expected Result
e._sentryDebugIds=e._sentryDebugIds||{}
debug_meta
Actual Result
e._sentryDebugIds=e._sentryDebugIds||{}
debug_meta
shows that
i have checked the event json and it does not contain
debug_meta
The text was updated successfully, but these errors were encountered: