Skip to content

Commit

Permalink
fix: correct typo in javascript v8-to-v9.mdx (#12847)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfon authored Mar 4, 2025
1 parent 1da8aba commit 8c45e7b
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 8c45e7b

Please sign in to comment.