Skip to content

Conversation

@k-fish
Copy link
Member

@k-fish k-fish commented Mar 14, 2022

Summary

Previously getting config from macros looks to be potentially pulling a fresh object instance in prod mode, which means the previous assign into the object no longer applies, and if the config didn't have a Sentry entry the initialize would crash. This should hopefully fix this issue for those no longer using env config.

Fixes #4015

Previously getting config from macros looks to be potentially pulling a fresh object instance in prod mode, which means the previous assign into the object no longer applies, and if the config didn't have a Sentry entry the initialize would crash. This should hopefully fix this issue for those no longer using config.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2022

size-limit report

Path Base Size (57a8997) Current Size Change
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.41 KB 19.41 KB -0.02% 🔽
@sentry/browser - ES5 CDN Bundle (minified) 61.99 KB 61.99 KB 0%
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.07 KB 18.06 KB -0.03% 🔽
@sentry/browser - ES6 CDN Bundle (minified) 55.39 KB 55.39 KB 0%
@sentry/browser - Webpack (gzipped + minified) 22.34 KB 22.34 KB 0%
@sentry/browser - Webpack (minified) 76.64 KB 76.64 KB 0%
@sentry/react - Webpack (gzipped + minified) 22.37 KB 22.37 KB 0%
@sentry/nextjs Client - Webpack (gzipped + minified) 46.55 KB 46.55 KB 0%
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 25.29 KB 25.28 KB -0.02% 🔽
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 23.67 KB 23.67 KB -0.02% 🔽

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) March 14, 2022 13:01
@AbhiPrasad AbhiPrasad merged commit cc44957 into master Mar 15, 2022
@AbhiPrasad AbhiPrasad deleted the fix/ember-sentry-init branch March 15, 2022 14:10
k-fish added a commit that referenced this pull request Mar 16, 2022
Revert "fix(ember): Fix merging env config (#4714)"

This reverts commit cc44957.
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.

Deprecation registerPlugin in Ember 3.28

3 participants