We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4941fc commit 3324324Copy full SHA for 3324324
packages/ember/addon/instance-initializers/sentry-performance.ts
@@ -25,6 +25,12 @@ function getSentryConfig() {
25
}
26
27
export function initialize(appInstance: ApplicationInstance): void {
28
+ // Disable in fastboot - we only want to run Sentry client-side
29
+ const fastboot = appInstance.lookup('service:fastboot') as { isFastBoot: boolean } | undefined;
30
+ if (fastboot?.isFastBoot) {
31
+ return;
32
+ }
33
+
34
const config = getSentryConfig();
35
if (config['disablePerformance']) {
36
return;
0 commit comments