fix issues caused by rebase

This commit is contained in:
Lion Kortlepel
2021-08-11 12:54:44 +02:00
parent d16843e45d
commit 0087205d55
2 changed files with 2 additions and 2 deletions

View File

@@ -267,6 +267,7 @@ void TNetwork::Authentication(const TConnection& ClientConnection) {
Sentry.Log(SentryLevel::Error, "default", "unexpected backend response (" + std::to_string(ResponseCode) + ")");
}
return;
}
if (AuthResponse["username"].IsString() && AuthResponse["roles"].IsString()

View File

@@ -17,9 +17,8 @@ TSentry::TSentry() {
mValid = true;
sentry_options_t* options = sentry_options_new();
sentry_options_set_dsn(options, SECRET_SENTRY_URL);
sentry_options_set_debug(options, false); // needs to always be false
auto ReleaseString = "BeamMP-Server@" + Application::ServerVersionString();
sentry_options_set_symbolize_stacktraces(options, true);
auto ReleaseString = "BeamMP-Server@" + Application::ServerVersion();
sentry_options_set_release(options, ReleaseString.c_str());
sentry_options_set_max_breadcrumbs(options, 10);
sentry_init(options);