What is the difference between SENTRY_RELEASE and __SENTRY__.hub._stack[0].client._options.release?
#13328
Unanswered
Sc4ramouche
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You don't need a correct release value if you are using the new(ish) Debug ID process to upload sourcemaps. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! I have a question regarding how Sentry identifies the
releasedata. I stumbled upon two options:SENTRY_RELEASEglobal object.__SENTRY__.hub._stack[0].client._options.releaseSentry client object.I noticed that in our setup those two values can be different if I print them with the following util:
Therefore I am curious what is the difference between the two and which one does Sentry use when an error event is sent.
Additional context — currently I am trying to make source maps to work in our microfrontends setup. Every MFE is it's own repo and we set
releasebased on the latest commit sha for every MFE. However, when navigating from one MFE to another in the browser, I noticed thatreleasecan get out of sync, i.e.SENTRY_RELEASEdisplayingreleaseof the MFE that I had navigated from. I assume that incorrectreleasedata can be a major problem for source maps to work correctly, thus wanted extend my knowledge regardingreleasehere.Any input is welcome, thank you!
Beta Was this translation helpful? Give feedback.
All reactions