Skip to content
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

fix(wasm): Fix wasm integration stacktrace parsing for filename #15572

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

lforst
Copy link
Member

@lforst lforst commented Mar 4, 2025

Fixes #9505

@lforst lforst requested a review from chargome March 4, 2025 14:01
if (!match) {
match = frame.filename.match(PARSER_REGEX) as null | [string, string, string];
}

if (match) {
const index = getImage(match[1]);
Copy link
Member

Choose a reason for hiding this comment

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

We could check the length of the match array before here

Copy link
Member Author

Choose a reason for hiding this comment

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

If there is a match it is 100% guaranteed to have 3 entries so I don't think it would matter and it saves bundle size.

@lforst lforst merged commit 0a7aabd into develop Mar 4, 2025
116 checks passed
@lforst lforst deleted the lforst-random-ass-wasm-fix branch March 4, 2025 15:35
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.

Problem with uploading debug information to with @sentry/wasm
2 participants