diff --git a/docs/platforms/javascript/common/migration/v8-to-v9.mdx b/docs/platforms/javascript/common/migration/v8-to-v9.mdx index db7a902906f7f..a47881968fc3a 100644 --- a/docs/platforms/javascript/common/migration/v8-to-v9.mdx +++ b/docs/platforms/javascript/common/migration/v8-to-v9.mdx @@ -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, }); ```