diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index a25b2bf700..3027417d76 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -327,7 +327,7 @@ void PGM_BASE::sentryInit() sentry_options_set_symbolize_stacktraces( options, true ); sentry_options_set_auto_session_tracking( options, false ); - if( IsNightlyVersion() ) + if( !IsNightlyVersion() ) sentry_options_set_release( options, GetSemanticVersion().ToStdString().c_str() ); else sentry_options_set_release( options, GetCommitHash().ToStdString().c_str() );