mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-13 03:06:27 +00:00
add curl as in-tree dependency, add sentry ok/not ok notice on startup
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
TSentry::TSentry(const std::string& SentryUrl) {
|
||||
if (SentryUrl.empty()) {
|
||||
mValid = false;
|
||||
info("Sentry disabled in unofficial build");
|
||||
} else {
|
||||
mValid = true;
|
||||
sentry_options_t* options = sentry_options_new();
|
||||
@@ -12,6 +13,7 @@ TSentry::TSentry(const std::string& SentryUrl) {
|
||||
sentry_options_set_release(options, ReleaseString.c_str());
|
||||
sentry_options_set_max_breadcrumbs(options, 10);
|
||||
sentry_init(options);
|
||||
info("Sentry started");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user