From bea8006a26061075a780b6df7e03e23c126f8198 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 11 Aug 2021 23:20:42 +0200 Subject: [PATCH] Sentry: reword --- src/THeartbeatThread.cpp | 2 +- src/TNetwork.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/THeartbeatThread.cpp b/src/THeartbeatThread.cpp index f32c69e..5656aaa 100644 --- a/src/THeartbeatThread.cpp +++ b/src/THeartbeatThread.cpp @@ -48,7 +48,7 @@ void THeartbeatThread::operator()() { { { "response-body", T }, { "request-body", Body } }); Sentry.SetTransaction(transaction); - Sentry.Log(SENTRY_LEVEL_ERROR, "default", "wrong backend response format (" + std::to_string(ResponseCode) + ")"); + Sentry.Log(SENTRY_LEVEL_ERROR, "default", "unexpected backend response (" + std::to_string(ResponseCode) + ")"); } }; SentryReportError(Application::GetBackendHostname() + Target); diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index 0f03d0c..02a5a4d 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -303,7 +303,7 @@ void TNetwork::Authentication(SOCKET TCPSock) { { { "response-body", Rc }, { "key", RequestString } }); Sentry.SetTransaction(Application::GetBackendUrlForAuth() + Target); - Sentry.Log(SENTRY_LEVEL_ERROR, "default", "wrong backend response format (" + std::to_string(ResponseCode) + ")"); + Sentry.Log(SENTRY_LEVEL_ERROR, "default", "unexpected backend response (" + std::to_string(ResponseCode) + ")"); return; } else if (Rc == "0") { auto Lock = Sentry.CreateExclusiveContext();