diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index 5d223ac..86ec5b5 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -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() diff --git a/src/TSentry.cpp b/src/TSentry.cpp index fd8069f..3986633 100644 --- a/src/TSentry.cpp +++ b/src/TSentry.cpp @@ -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);