Skip to content
Draft
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
6 changes: 3 additions & 3 deletions docs/platforms/javascript/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ This variable controls the total amount of breadcrumbs that should be captured.

</SdkOption>

<SdkOption name="attachStacktrace" type='boolean' defaultValue='false'>
<SdkOption name="attachStacktrace" type='boolean' defaultValue='true'>

<PlatformSection supported={["javascript.electron"]}>
Enabled per Electron process.
</PlatformSection>

When enabled, stack traces are automatically attached to all messages logged. Stack traces are always attached to exceptions; however, when this option is set, stack traces are also sent with messages. This option, for instance, means that stack traces appear next to all messages captured with `Sentry.captureMessage()`.
When enabled, stack traces are automatically attached to all messages logged. Stack traces are always attached to exceptions; however, when this option is set, stack traces are also sent with messages. This option, for instance, means that stack traces appear next to all messages captured with `Sentry.captureMessage()`, and a synthetic stack trace is attached to `Sentry.captureException()` calls made with a non-`Error` value.

Grouping in Sentry is different for events with stack traces and without. As a result, you will get new groups as you enable or disable this flag for certain events.
Grouping in Sentry is different for events with stack traces and without. As a result, you will get new groups as you enable or disable this flag for certain events. Because this option now defaults to `true`, `captureMessage()` events and non-`Error` exceptions carry a stack trace by default, which changes how they're grouped compared to earlier SDK versions and can shift issue-based alerts and release health data.

</SdkOption>

Expand Down
Loading