Sentry: fix conversion of Build-ID to string
This commit is contained in:
parent
1d6b6d9753
commit
d96d903c0b
2 changed files with 3 additions and 3 deletions
|
@ -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__
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue