add trace() as DEBUG debug()

Replace DEBUG debug() with trace() everywhere
This commit is contained in:
Lion Kortlepel
2021-08-31 11:50:06 +03:00
committed by Lion
parent fe36191baf
commit 809a851c71
9 changed files with 34 additions and 81 deletions

View File

@@ -71,9 +71,7 @@ void Application::CheckForUpdates() {
}
} else {
warn("Unable to fetch version from backend.");
#if DEBUG
debug("got " + Response);
#endif // DEBUG
trace("got " + Response);
auto Lock = Sentry.CreateExclusiveContext();
Sentry.SetContext("get-response", { { "response", Response } });
Sentry.LogError("failed to get server version", _file_basename, _line);