-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
BugPackage: sveltekitIssues related to the Sentry SvelteKit SDKIssues related to the Sentry SvelteKit SDK
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.0.1
Framework Version
"@sveltejs/kit": "^2.16.1", "svelte": "^5.19.6",
Link to Sentry event
No response
Reproduction Example/SDK Setup
hooks.server.ts
// Initialize sentry
Sentry.init({
dsn: ....logging.sentryDsn,
tracesSampleRate: 1,
environment: ....mode,
});hooks.client.ts
Sentry.init({
dsn: .....sentryDsn,
tracesSampleRate: 1,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
integrations: [Sentry.replayIntegration()],
environment: .....mode,
});Steps to Reproduce
build with adapter: svelte-adapter-azure-swa
start locally swa emulator.
Expected Result
Should not fail just as 8.x does not fail.
Actual Result
fails while tries to read package.json, and the output of the adapter is different from what is expected.
Metadata
Metadata
Assignees
Labels
BugPackage: sveltekitIssues related to the Sentry SvelteKit SDKIssues related to the Sentry SvelteKit SDK
Projects
Status
No status