crash: add build mode to sentry tags

This commit is contained in:
Mitchell Hashimoto
2024-09-01 09:58:49 -07:00
parent 49e56a9057
commit 37577630ac

View File

@ -87,6 +87,7 @@ fn initThread(gpa: Allocator) !void {
if (sentry.c.sentry_init(opts) != 0) return error.SentryInitFailed;
// Setup some basic tags that we always want present
sentry.setTag("build-mode", build_config.mode_string);
sentry.setTag("app-runtime", @tagName(build_config.app_runtime));
sentry.setTag("font-backend", @tagName(build_config.font_backend));
sentry.setTag("renderer", @tagName(build_config.renderer));