Sentry: more macro replacements

This commit is contained in:
Lion Kortlepel
2021-08-12 01:24:48 +02:00
committed by Lion
parent 0f9a994c10
commit ff3cbebac0
5 changed files with 28 additions and 18 deletions

View File

@@ -47,7 +47,7 @@ void THeartbeatThread::operator()() {
{ { "response-body", T },
{ "request-body", Body } });
Sentry.SetTransaction(transaction);
Sentry.Log(SENTRY_LEVEL_ERROR, "default", "unexpected backend response (" + std::to_string(status) + ")");
Sentry.Log(SentryLevel::Error, "default", "unexpected backend response (" + std::to_string(status) + ")");
}
};
SentryReportError(Application::GetBackendHostname() + Target, ResponseCode);