Skip to content

Default attachStacktrace to true for captureMessage #21188

@nicohrubec

Description

@nicohrubec

Eventually captureMessage will be unified with captureException. As a pre-step, we should align behavior between these APIs by defaulting attachStacktrace to true for captureMessage.

Currently captureException always includes a stack trace, while captureMessage only does so when attachStacktrace is explicitly enabled (it defaults to false). Switching this default makes captureMessage behave consistently with captureException, so that unifying them later becomes straightforward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions