Skip to content

Commit 8c45e7b

Browse files
authored
fix: correct typo in javascript v8-to-v9.mdx (#12847)
1 parent 1da8aba commit 8c45e7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/platforms/javascript/common/migration/v8-to-v9.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ The changes outlined in this section describe in what way the SDK may behave dif
157157
This is no longer the case and sampling decisions will be deferred to downstream SDKs for distributed tracing.
158158
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.
159159

160-
- 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`).
160+
- 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`).
161161
If you want to keep sending them as unhandled, configure the `handled` option when adding the integration:
162162

163163
```javascript
164164
Sentry.init({
165165
integrations: [Sentry.captureConsoleIntegration({ handled: false })],
166-
attachStackTrace: true,
166+
attachStacktrace: true,
167167
});
168168
```
169169

0 commit comments

Comments
 (0)