mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
The redacted log used to ride a separate message event from the native
crash (minidump + stack), forcing manual correlation in Sentry. Fold it
into the pending crash envelope(s) instead by appending well-formed
attachment items before consent releases them: sentry-native replays
cached envelopes byte-for-byte (raw read, raw serialize in 0.17.3), so
the appended crash-log.txt and user-note.txt items upload with the very
event that already carries the dump and stack.
Covers both storage locations: Ask mode's consent-held files in
<database>/cache and AlwaysSend's transport-dumped files in
<database>/<run>.run, which must be attached before sentry_init replays
them. When no pending crash event exists (unclean exit without a native
crash) the standalone message event remains as fallback, now also
carrying the optional note.
The dialog gains an optional free-text field ('Here's what I was
doing...') that travels as user-note.txt; the mock JSON records it too.
|
||
|---|---|---|
| .. | ||
| cards | ||
| deck_analytics | ||
| deck_editor | ||
| deck_share | ||
| dialogs | ||
| general | ||
| menus | ||
| onboarding | ||
| playmat | ||
| printing_selector | ||
| quick_settings | ||
| replay | ||
| server | ||
| settings_page | ||
| tabs | ||
| utility | ||
| visual_database_display | ||
| visual_deck_editor | ||
| visual_deck_storage | ||