You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So apparently source mapping URLs (as given in //# sourceMappingURL comments in JS source files) can contain elements such as URL query strings. This obviously presents a problem when we look for the sourcemap files in the local file system. On the other hand, we can't just completely discard this stuff either—it might be relevant when scraping the sourcemap from the internet.
should strip away everything from a source mapping URL that would prevent finding the file in the local filesystem. Since add_sourcemap_references is based on this function, this would also mean that the "cleaned up" URLs end up in the sourcemap bundle metadata, which is what we want.
The text was updated successfully, but these errors were encountered:
Hi @loewenheim i can see that the issue was fixed in symbolic via 809.
Would source maps work in sentry even when the debugID is not injected in the source map file (only on the minified file) and the debugID is present in the event? (the original issue encountered by a user)
Would source maps work in sentry even when the debugID is not injected in the source map file (only on the minified file) and the debugID is present in the event? (the original issue encountered by a user)
It might work, in the same way that sourcemaps worked before we introduced debug ids, i.e. by matching on file names. But the debug id in the minified file and in the event would not be very useful in that case.
How come the user has debug ids in minified files, but not in sourcemaps?
So apparently source mapping URLs (as given in
//# sourceMappingURL
comments in JS source files) can contain elements such as URL query strings. This obviously presents a problem when we look for the sourcemap files in the local file system. On the other hand, we can't just completely discard this stuff either—it might be relevant when scraping the sourcemap from the internet.I think
sentry-cli/src/utils/sourcemaps.rs
Line 306 in 9f634d4
add_sourcemap_references
is based on this function, this would also mean that the "cleaned up" URLs end up in the sourcemap bundle metadata, which is what we want.The text was updated successfully, but these errors were encountered: