Skip to content

Commit 8431486

Browse files
committed
Update instructions to install sentry
1 parent e3b87d9 commit 8431486

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ Make sure your app's `moudlePrefix` is equal to your Sentry `appName`, and your
8888
```js
8989
// app/sentry.js
9090

91-
import * as Sentry from '@sentry/browser';
92-
import { Ember } from '@sentry/integrations/esm/ember';
91+
import * as Sentry from '@sentry/ember';
9392
import config from 'web-app/config/environment';
9493

9594
const sentryConfig = config.sentry || {};
@@ -98,8 +97,7 @@ export function startSentry() {
9897
Sentry.init({
9998
environment: config.environment,
10099
release: `${config.modulePrefix}@${config.APP.version}`,
101-
...sentryConfig,
102-
integrations: [new Ember()]
100+
...sentryConfig
103101
});
104102
}
105103
```

0 commit comments

Comments
 (0)