From 426187e83095903f5f96fa8c97ffe95c6dcf763d Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Wed, 9 Sep 2026 16:54:02 +0200 Subject: [PATCH] docs(js): update attachStacktrace default to true Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/platforms/javascript/common/configuration/options.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platforms/javascript/common/configuration/options.mdx b/docs/platforms/javascript/common/configuration/options.mdx index 6a57dbed970387..618300dbf6df6f 100644 --- a/docs/platforms/javascript/common/configuration/options.mdx +++ b/docs/platforms/javascript/common/configuration/options.mdx @@ -172,15 +172,15 @@ This variable controls the total amount of breadcrumbs that should be captured. - + Enabled per Electron process. -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.