Skip to content

Failed to rewrite frame #7499

Description

@zWingz

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

@sentry/node

SDK Version

latest

Framework Version

latest

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

My code ran in the vscode extension and I get the frame.filename is c:\Users\Administrator\.vscode\extensions\xxxxxxx\out\extension.js
image

It doesn't match the regext /^[A-Z]:\\/, so it can't rewrite the frame

https://github.com/getsentry/sentry-javascript/blob/develop/packages/integrations/src/rewriteframes.ts#L75-L80

Expected Result

rewrite the frame correctly

Actual Result

cannot rewrite

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions