Skip to content

Allow fetching event_id from last crash #1447

Closed

Description

@JoshuaMoelans

We already write the crash timestamp to the crash-marker in sentry__write_crash_marker. Since we now have an event_id for all backends (since #1319), we could additionally write this to the same file & provide a method to fetch this value.

Depending on how this value is to be used, we could additionally continue with #885 (comment) and the sentry_options_set_on_crashed_last_run() proposal, allowing users to add data to an envelope. This is probably out-of-scope for the event_id issue, and we might split this issue up in two.

Activity

  1. linear commented on Nov 12, 2025

    @linear
  2. added
    Feature
    Native
    on Mar 24, 2026
  3. added
    Errors
    on Mar 26, 2026
  4. self-assigned this
    on May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ErrorsFeatureNative

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions