Skip to content

Application breaks after updating @sentry/sveltekit to v7.91.0 #9979

Description

@MathiasWP

Is there an existing issue for this?

I was following this issue #8925, and very existed to see support for CSP with #9969. But for some reason, the latest version crashes our application (500 internal server error).

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

7.91.0

Framework Version

7.91.0

Package manager

pnpm

Link to Sentry event

No response

SDK Setup

Sentry.init({
	dsn: PUBLIC_SENTRY_DSN,
	tracesSampleRate: 1.0,
	normalizeDepth: 10,
	environment: import.meta.env.MODE,
	enabled: import.meta.env.MODE !== 'development',
	maxValueLength: 8192
});

Steps to Reproduce

I am not exactly sure what is causing this. I've been trying to set up a repro for this, but i am not able to make it crash with a bare-bone sveltekit project.

Expected Result

It should just work

Actual Result

Screenshot 2023-12-26 at 01 19 02

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions