mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
crash: add build mode to sentry tags
This commit is contained in:
@ -87,6 +87,7 @@ fn initThread(gpa: Allocator) !void {
|
|||||||
if (sentry.c.sentry_init(opts) != 0) return error.SentryInitFailed;
|
if (sentry.c.sentry_init(opts) != 0) return error.SentryInitFailed;
|
||||||
|
|
||||||
// Setup some basic tags that we always want present
|
// 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("app-runtime", @tagName(build_config.app_runtime));
|
||||||
sentry.setTag("font-backend", @tagName(build_config.font_backend));
|
sentry.setTag("font-backend", @tagName(build_config.font_backend));
|
||||||
sentry.setTag("renderer", @tagName(build_config.renderer));
|
sentry.setTag("renderer", @tagName(build_config.renderer));
|
||||||
|
Reference in New Issue
Block a user