-
Notifications
You must be signed in to change notification settings - Fork 36
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
Sourcemaps Not Injected with a Debug ID and Ignore List Not Working #628
Comments
Issue 1Don't worry about this. We are not writing Issue 2If some of your ignore list is not being consideredCan I ask where you got the |
hi @lforst thank you for the swift response, appreciate it. Issue 1Okey, I was going through the issues list here, to see if someone else if facing the same issue as mine and I came across one of the issue raised talking about the debug ID should be in .js.map. Hence I assumed its the same for me. The actual reason for raising this issue is, In my sentry error log, I see source code is in unminified version, like below on clicking the btn I got this popup But as said earlier, I can see the sourcemap are getting uploaded any idea what I could be doing wrong here? Issue 2Yes, I totally agree that those files are created from my side, unfortunately I could not find the solution to fix for that yet, hence I tried to ignore them from the sourcemap upload. as for the ignore list, I was using the |
I think we need some sort of reproduction to debug this effectively. Maybe can you (in addition to providing repro) also share a link to an event that can't be unminified? Thanks! |
I need to check with my manager on the company policy, with regards to providing the access to the codebase. P.S our company has a paid plan with sentry, is there a different or private support system we can use where we can further discuss on this issue? |
You can reach out to support here: https://sentry.zendesk.com/hc/en-us |
Hi Team,
I'm facing an issue where sourcemaps are not being injected with a debug ID, and my ignore list is not being considered, although the uploading of sourcemaps seems to be working correctly.
Installed Packages
Project Structure
I have a monorepo React application built using Nx with Webpack.
Steps Followed
I followed the steps mentioned in the Sentry documentation for uploading sourcemaps with Webpack:
Uploading Sourcemaps with Webpack
I used the following command for the setup:
Webpack Configuration
Here is the relevant part of my
webpack.config.js
:Terminal Output
When running the build command:
I see the following debug output:
Issue 1
the output from one of the js file:
config.3848a5bcd19d60a566b0.js
(_._sentryDebugIds=_._sentryDebugIds||{},_._sentryDebugIds[e]="4a63fb18-e873-48d1-a3b4-5d76a45cc553",_._sentryDebugIdIdentifier="sentry-dbid-4a63fb18-e873-48d1-a3b4-5d76a45cc553")}catch(_){}}();
has the following line added but in
config.3848a5bcd19d60a566b0.js.map
the sentry debug id is missing
Issue 2
Contents of
styles.44cd59f2baeb4652.js
Some how this file is created without a *.js.map file, when investigated it had only the code related to sentry.
Note: I have a files with the pattern of styles.xxx.css & styles.xxx.css.map
Additional Notes
I would appreciate any guidance or solutions to these issues. Thank you!
The text was updated successfully, but these errors were encountered: