Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/platforms/javascript/common/migration/v8-to-v9.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ The changes outlined in this section describe in what way the SDK may behave dif
This is no longer the case and sampling decisions will be deferred to downstream SDKs for distributed tracing.
This is more of a bugfix rather than a breaking change, however, depending on the setup of your SDKs, an increase in sampled traces may be observed.

- If you use the optional `captureConsoleIntegration` and set `attachStackTrace: true` in your `Sentry.init` call, console messages will no longer be marked as unhandled (`handled: false`) but as handled (`handled: true`).
- If you use the optional `captureConsoleIntegration` and set `attachStacktrace: true` in your `Sentry.init` call, console messages will no longer be marked as unhandled (`handled: false`) but as handled (`handled: true`).
If you want to keep sending them as unhandled, configure the `handled` option when adding the integration:

```javascript
Sentry.init({
integrations: [Sentry.captureConsoleIntegration({ handled: false })],
attachStackTrace: true,
attachStacktrace: true,
});
```

Expand Down
Loading