Package + Version
Version:
Description
My ember app is running embroider 0.35.1 in fastboot. It works fine without Sentry or when fastboot is not enabled. But as soon as I add Sentry according to your latest official ember docs (adding InitSentryForEmber() in app.js) the build says:
Error: Assertion Failed: Missing configuration
Sentry is using ember-get-config. But it looks like the config is empty from where the sentry import is done.
|
const config = environmentConfig['@sentry/ember']; |
Not sure if it's an embroider issue or if it's fixable here in the sentry repo. It looks like the config is not accessible from within fastboot when sentry is trying to access it. I also created an issue in the embroider repo embroider-build/embroider#642
Package + Version
@sentry/browser@sentry/noderaven-jsraven-node(raven for node)@sentry/emberVersion:
Description
My ember app is running embroider
0.35.1in fastboot. It works fine without Sentry or when fastboot is not enabled. But as soon as I add Sentry according to your latest official ember docs (addingInitSentryForEmber()inapp.js) the build says:Sentry is using ember-get-config. But it looks like the config is empty from where the sentry import is done.
sentry-javascript/packages/ember/addon/index.ts
Line 15 in 8f66ed8
Not sure if it's an embroider issue or if it's fixable here in the sentry repo. It looks like the config is not accessible from within fastboot when sentry is trying to access it. I also created an issue in the embroider repo embroider-build/embroider#642