Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 12, 2023

This PR adds the RewriteFrames integration to match the server-side stack frames with the uploaded source maps.

(since I'm still facing super weird timing issues with the debug Ids I'll try to get source maps working in the conventional way and revisit later)

ref #7669

@Lms24 Lms24 requested review from AbhiPrasad and lforst April 12, 2023 15:55
@Lms24 Lms24 self-assigned this Apr 12, 2023
@Lms24 Lms24 changed the title fix(sveltekit): Rewrite server-side stack frames to match source maps fix(sveltekit): Rewrite server-side stack frames to match uploaded artifacts Apr 12, 2023
"dependencies": {
"@sentry-internal/tracing": "7.47.0",
"@sentry/core": "7.47.0",
"@sentry/integrations": "7.47.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated note: should we just export RewriteFrames from @sentry/core considering how much we use it everywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could! Core would need to depend on integrations but this should be fine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking opposite - integrations depends on core!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure that also works 😅 I can do this but let's do it in another PR after this one

@Lms24 Lms24 merged commit 7b50bfa into develop Apr 13, 2023
@Lms24 Lms24 deleted the lms/sveltekit-source-maps-server branch April 13, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants