Skip to content

Commit 33d29e1

Browse files
committed
Import Sentry from the @sentry/ember package (rather than @sentry/browser) in the the ember instance-initializer, otherwise any existing client that gets created by the app author gets overriden by this one - and loses any app specific BrowserOptions config
1 parent f398340 commit 33d29e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ember/addon/instance-initializers/sentry-performance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ApplicationInstance from '@ember/application/instance';
22
import Ember from 'ember';
33
import { run } from '@ember/runloop';
4-
import * as Sentry from '@sentry/browser';
4+
import * as Sentry from '@sentry/ember';
55
import { Span, Transaction, Integration } from '@sentry/types';
66
import { EmberRunQueues } from '@ember/runloop/-private/types';
77
import { getActiveTransaction } from '..';

0 commit comments

Comments
 (0)