Skip to content

Logs emitted inside on_crash handler are not uploaded to Sentry #1473

@tustanivsky

Description

@tustanivsky

Currently, Sentry structured logs are flushed right before the on_crash callback is invoked when a fatal error occurs. This means that any messages logged from within a custom crash handler are not uploaded.

The Unreal SDK defines its own on_crash handler that prints useful diagnostic messages (such as the error callstack, screenshot-capture status, etc.). However, due to this limitation those messages are not uploaded to Sentry and are only available in the local game log file.

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions