-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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/sveltekit
SDK Version
9.5.0
Framework Version
2.5.10
Link to Sentry event
https://digitutor-dev.sentry.io/issues/32624244/events/52d2d2175dbc48d58466599eedaf6041/
Reproduction Example/SDK Setup
Things I've tried:
- set values for args sentrySvelteKit() in config obj
sentrySvelteKit(
{
adapter: 'cloudflare',
sourceMapsUploadOptions: {
org: 'my-org',
project: 'my-proj',
authToken: env.my-token,
}
}
)
- ran in dev mode
I read in an older github issue that source maps arent optimised for non-production builds. How can I ensure it is a non-production build?
I did run build & preview for both environment: 'local' and environment: 'prod', in the init function for sveltekit hooks.
Docs also says "@sentry/sveltekit will generate and upload source maps automatically", however i followed wizard anyhow. Everything else is working fine, sentry wise.
In the modal/guide on sentry I'm at step "Missing source file with a matching Debug ID", with following info
No Source File With Matching Debug ID
You already uploaded artifacts with Debug IDs but none of the uploaded source files had a Debug ID matching this stack frame's Debug ID: 7056a63a-784e-4423-9f7f-599705af8b59
Make sure to inject Debug IDs into all of your source files and to upload all of them to Sentry.
Steps to Reproduce
- Generate an error, in in client or server
- Look for source maps at sentry event in saas
Expected Result
Have full stack trace with source maps
Actual Result
Stack trace without source maps.
Metadata
Metadata
Assignees
Projects
Status