diff --git a/packages/ember/addon/instance-initializers/sentry-performance.ts b/packages/ember/addon/instance-initializers/sentry-performance.ts index 0a43bc582c96..e6ddf066f21c 100644 --- a/packages/ember/addon/instance-initializers/sentry-performance.ts +++ b/packages/ember/addon/instance-initializers/sentry-performance.ts @@ -14,6 +14,11 @@ function getSentryConfig() { const _global = getGlobalObject(); _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {}; const environmentConfig = getOwnConfig().sentryConfig; + if (!environmentConfig.sentry) { + environmentConfig.sentry = { + browserTracingOptions: {}, + }; + } Object.assign(environmentConfig.sentry, _global.__sentryEmberConfig); return environmentConfig; }