crash: tag the thread type

This commit is contained in:
Mitchell Hashimoto
2024-09-02 09:59:19 -07:00
parent d8cc19612f
commit bae12993b3
3 changed files with 16 additions and 1 deletions

View File

@@ -203,6 +203,7 @@ fn threadMain_(self: *Thread, io: *termio.Termio) !void {
// Setup our crash metadata
crash.sentry.thread_state = .{
.type = .io,
.surface = io.surface_mailbox.surface,
};
defer crash.sentry.thread_state = null;