mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 06:46:23 +00:00
Heartbeat: Try backup1 and backup2, refactor sentry reporting
This commit is contained in:
@@ -298,8 +298,8 @@ void TNetwork::Authentication(SOCKET TCPSock) {
|
||||
ClientKick(*Client, "Backend returned invalid auth response format.");
|
||||
error("Backend returned invalid auth response format. This should never happen.");
|
||||
auto Lock = Sentry.CreateExclusiveContext();
|
||||
Sentry.AddExtra("response-body", Rc);
|
||||
Sentry.AddExtra("key", RequestString);
|
||||
Sentry.SetExtra("response-body", Rc);
|
||||
Sentry.SetExtra("key", RequestString);
|
||||
Sentry.SetTransaction(Application::GetBackendUrlForAuth() + Target);
|
||||
Sentry.Log(SENTRY_LEVEL_ERROR, "default", "auth: wrong backend response format");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user