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

ref(core): Log normalizeDepth type when normalization is skipped #4870

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Apr 6, 2022

This is a follow up to #4425 and #4574, all in aid of debugging #2809, wherein serializing events leads to a circular reference error. One of the possible culprits is that the event is somehow skipping our usual normalization process, and one of the reasons that might happen is if normalizeDepth is set to something other than a number. We're already logging its value in problematic cases, and this change makes it so that we'll now log its type as well.

@lobsterkatie lobsterkatie changed the title ref(core): Log normalizeDepth type ref(core): Log normalizeDepth type when normalization is skipped Apr 6, 2022
@lobsterkatie lobsterkatie enabled auto-merge (squash) April 6, 2022 19:26
@github-actions
Copy link
Contributor

github-actions bot commented Apr 6, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.14 KB (+0.04% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 64.61 KB (+0.03% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.86 KB (+0.07% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 57.97 KB (+0.04% 🔺)
@sentry/browser - Webpack (gzipped + minified) 23.24 KB (+0.06% 🔺)
@sentry/browser - Webpack (minified) 81.71 KB (+0.03% 🔺)
@sentry/react - Webpack (gzipped + minified) 23.27 KB (+0.06% 🔺)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.83 KB (-0.44% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.07 KB (+0.04% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 24.48 KB (+0.06% 🔺)

@lobsterkatie lobsterkatie merged commit 0a985ce into master Apr 6, 2022
@lobsterkatie lobsterkatie deleted the kmclb-log-normalizeDepth-type branch April 6, 2022 19:49
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.

None yet

2 participants