mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 14:12:25 +00:00
fix issues caused by rebase
This commit is contained in:
@@ -267,6 +267,7 @@ void TNetwork::Authentication(const TConnection& ClientConnection) {
|
|||||||
Sentry.Log(SentryLevel::Error, "default", "unexpected backend response (" + std::to_string(ResponseCode) + ")");
|
Sentry.Log(SentryLevel::Error, "default", "unexpected backend response (" + std::to_string(ResponseCode) + ")");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (AuthResponse["username"].IsString() && AuthResponse["roles"].IsString()
|
if (AuthResponse["username"].IsString() && AuthResponse["roles"].IsString()
|
||||||
|
|||||||
+1
-2
@@ -17,9 +17,8 @@ TSentry::TSentry() {
|
|||||||
mValid = true;
|
mValid = true;
|
||||||
sentry_options_t* options = sentry_options_new();
|
sentry_options_t* options = sentry_options_new();
|
||||||
sentry_options_set_dsn(options, SECRET_SENTRY_URL);
|
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);
|
sentry_options_set_symbolize_stacktraces(options, true);
|
||||||
auto ReleaseString = "BeamMP-Server@" + Application::ServerVersion();
|
|
||||||
sentry_options_set_release(options, ReleaseString.c_str());
|
sentry_options_set_release(options, ReleaseString.c_str());
|
||||||
sentry_options_set_max_breadcrumbs(options, 10);
|
sentry_options_set_max_breadcrumbs(options, 10);
|
||||||
sentry_init(options);
|
sentry_init(options);
|
||||||
|
|||||||
Reference in New Issue
Block a user