Skip to content

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

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

Closed
3 tasks done
MathiasWP opened this issue Dec 26, 2023 · 2 comments
Closed
3 tasks done

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

MathiasWP opened this issue Dec 26, 2023 · 2 comments
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK

Comments

@MathiasWP
Copy link

MathiasWP commented Dec 26, 2023

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
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 2 Dec 26, 2023
@github-actions github-actions bot added the Package: sveltekit Issues related to the Sentry SvelteKit SDK label Dec 26, 2023
@MathiasWP MathiasWP changed the title Updating to @sentry/sveltekit v7.91.0 throws activeSpan.end is not a function Application breaks after updating @sentry/sveltekit to v7.91.0 Dec 26, 2023
@Cluster2a
Copy link

Same problem...
image

@lforst
Copy link
Contributor

lforst commented Dec 27, 2023

Thanks for raising this! I am closing it in favor of #9981 to have a central place for this issue.

@lforst lforst closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK
Projects
Archived in project
Development

No branches or pull requests

3 participants