add curl as in-tree dependency, add sentry ok/not ok notice on startup

This commit is contained in:
Lion Kortlepel
2021-08-09 00:27:55 +02:00
committed by Lion
parent 4512f44ea1
commit 28fe6e9634
4 changed files with 41 additions and 6 deletions

View File

@@ -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");
}
}