From 98b35b1a7f381e70234cfe7ba6e646da9afff078 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 24 Sep 2023 14:42:00 -0400 Subject: [PATCH] Start using the sentry environment tag --- common/pgm_base.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index b1b2abac83..2aa397413c 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -348,6 +348,9 @@ void PGM_BASE::sentryInit() sentry_options_set_release( options, GetCommitHash().ToStdString().c_str() ); + // This just gives us more filtering within sentry, issues still get grouped across environments + sentry_options_set_environment( options, GetMajorMinorVersion().c_str() ); + sentry_init( options ); sentry_value_t user = sentry_value_new_object();