You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All backends invoke on_crash before applying the current scope. In pseudo:
if (on_crash)
on_crash(event);
apply_scope(event);
if (before_send&& !on_crash)
before_send(event);
Unlike before_send, the on_crash callback therefore cannot inspect crash metadata, contexts, tags, user, release, environment, or any other scope data for filtering purposes.
With minidump backends, the event contains only event_id, timestamp, platform, and level:
Since on_crash replaces before_send for crashes, it should probably receive the same scope-enriched event, consistent with the normal before_send contract.
Activity
linear-code commentedon Sep 17, 2026
NATIVE-230
[-]`on_crash` receives an event without scope data[/-][+]`on_crash` receives an event without data[/+]fix: provide `debug_meta.images` to `on_crash`
fix: provide `debug_meta.images` to `on_crash`
fix: provide `debug_meta.images` to `on_crash` (#2184)
jpnurmi commentedon Oct 22, 2026
Crash metadata and modules provided by #2174 and #2184 (merged into
v1)