Skip to content

Minidump attached to envelope results in cleared exceptions #6046

@timfish

Description

@timfish

If a minidump is attached to an event, any existing exceptions are removed:

exceptions.clear(); // clear previous errors if any

This is an issue for a new feature in the Electron SDK:
getsentry/sentry-electron#1382

Essentially, Electron now includes JavaScript stack traces in the crashpad annotations for renderer OOM crashes. The Electron SDK parses these out of the minidump and includes them in the exceptions of the event.

Currently the JavaScript stack trace is lost:
https://sentry-sdks.sentry.io/issues/7524402832/?project=5650507

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status
    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions