Sentry: set dist (build) data
This commit is contained in:
parent
42b09ab948
commit
aea0a1a12a
2 changed files with 2 additions and 1 deletions
|
@ -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__
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue