Skip to content

Commit

Permalink
fix: only include 'crash' type for ReportingObserver integration (#560
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rchl authored Apr 18, 2023
1 parent 6c97de6 commit 782b9d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions docs/content/en/configuration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Note that the module sets the following defaults when publishing is enabled:
```js
{
ExtraErrorData: {},
ReportingObserver: {},
ReportingObserver: { types: ['crash'] },
RewriteFrames: {},
}
```
Expand All @@ -244,8 +244,6 @@ Note that the module sets the following defaults when publishing is enabled:
```js
{
ExtraErrorData: false,
ReportingObserver: {},
RewriteFrames: {},
}
```
- See also [Sentry Browser Integrations](https://docs.sentry.io/platforms/javascript/guides/vue/configuration/integrations/) for more information on configuring each integration.
Expand All @@ -268,10 +266,7 @@ Note that the module sets the following defaults when publishing is enabled:
- To disable integration that is enabled by default, pass `false` as a value. For example to disable `ExtraErrorData` integration (only) set the option to:
```js
{
Dedupe: {},
ExtraErrorData: false,
RewriteFrames: {},
Transaction: {},
}
```
- See also [Sentry Server Integrations](https://docs.sentry.io/platforms/node/configuration/integrations/) for more information on configuring each integration.
Expand Down
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default defineNuxtModule<ModuleConfiguration>({
tracing: false,
clientIntegrations: {
ExtraErrorData: {},
ReportingObserver: {},
ReportingObserver: { types: ['crash'] },
RewriteFrames: {},
},
serverIntegrations: {
Expand Down

0 comments on commit 782b9d1

Please sign in to comment.