1
0
Fork 0

Sentry: fix conversion of Build-ID to string

This commit is contained in:
James Turner 2020-04-18 18:13:18 +01:00
parent 1d6b6d9753
commit d96d903c0b
2 changed files with 3 additions and 3 deletions

View file

@ -559,7 +559,7 @@ int fgMainInit( int argc, char **argv )
SG_LOG(SG_GENERAL, SG_ALERT, "Minimum supported OpenScenegraph is V3.4.1 - currently using " << osgGetVersion() << " This can cause fatal OSG 'final reference count' errors at runtime");
#endif
flightgear::addSentryTag("jenkins-build-number", JENKINS_BUILD_NUMBER);
flightgear::addSentryTag("jenkins-build-number", std::to_string(JENKINS_BUILD_NUMBER));
flightgear::addSentryTag("osg-version", osgGetVersion());
#ifdef __OpenBSD__

View file

@ -27,11 +27,11 @@
using namespace std;
static bool static_sentryEnabled = false;
// we don't want sentry enabled for the test suite
#if defined(HAVE_SENTRY) && !defined(BUILDING_TESTSUITE)
static bool static_sentryEnabled = false;
#include <sentry.h>
namespace flightgear