micro-sentry
micro-sentry copied to clipboard
[BUG] `Sentry.setTag` not showing up on sentry
🐞 Bug report
Description
I've added the test line: Sentry.setTag("name", "NEAL");
to a position i the code after Sentry has been initialized. Then at some other point I throw a fake error. the tag name: NEAL
does not show up on the sentry page at all.
Expected behavior
Expect the tag to show up here but it does not:
Versions
`"@micro-sentry/browser": "^2.1.0",`
Any help would be greatly appreciated! Also thank you so much for making this project! It's a lifesaver as the Sentry browser one is wayyy too large.
Hi @Nealsoni00! Thank you for your report! Could you create a simple example on http://stackblitz.com/?
Hey @IKatsuba!
All I do is init sentry and add a tag:
export const Sentry = new BrowserMicroSentryClient({
dsn: 'https://[REDACTED]@[REDACTED].ingest.sentry.io/[REDACTED]',
});
// After loading inital data, set any tag (for testing, I used this line)
Sentry.setTag("name", "NEAL");
And when i throw a fake error like below, no tags are shown on the error report.
throw Error("TEST ERROR 5")
Let me know if that isn't the case for ya'll and I'd be happy to show more information. Errors and their breadcrumbs get reported perfectly.
Hey @IKatsuba! Just wanted to follow up if you've noticed this happening to you?
I really appreciate the work y'all have done to make micro-sentry!
Hi @Nealsoni00! I can't reproduce your case in the beta channel. Can you try the beta?