1
0
Fork 0

Sentry: set dist (build) data

This commit is contained in:
James Turner 2020-09-17 21:44:29 +01:00
parent 42b09ab948
commit aea0a1a12a
2 changed files with 2 additions and 1 deletions

View file

@ -600,7 +600,6 @@ int fgMainInit( int argc, char **argv )
SG_LOG( SG_GENERAL, SG_INFO, "Jenkins number/ID " << JENKINS_BUILD_NUMBER << ":"
<< JENKINS_BUILD_ID);
flightgear::addSentryTag("jenkins-build-number", std::to_string(JENKINS_BUILD_NUMBER));
flightgear::addSentryTag("osg-version", osgGetVersion());
#ifdef __OpenBSD__

View file

@ -78,6 +78,8 @@ void initSentry()
sentry_options_set_release(options, "flightgear@" FLIGHTGEAR_VERSION);
}
sentry_options_set_dist(options, std::to_string(JENKINS_BUILD_NUMBER))
SGPath dataPath = fgHomePath() / "sentry_db";
#if defined(SG_WINDOWS)
const auto homePathString = dataPath.wstr();