mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
Heartbeat: Try backup1 and backup2, refactor sentry reporting
This commit is contained in:
@@ -62,6 +62,8 @@ public:
|
||||
|
||||
static std::string GetBackendUrlForAuth() { return "auth.beammp.com"; }
|
||||
static std::string GetBackendHostname() { return "backend.beammp.com"; }
|
||||
static std::string GetBackup1Hostname() { return "backup1.beammp.com"; }
|
||||
static std::string GetBackup2Hostname() { return "backup2.beammp.com"; }
|
||||
static std::string GetBackendUrlForSocketIO() { return "https://backend.beammp.com"; }
|
||||
|
||||
private:
|
||||
|
||||
@@ -18,8 +18,8 @@ public:
|
||||
void SetupUser();
|
||||
void Log(sentry_level_t level, const std::string& logger, const std::string& text);
|
||||
void LogError(const std::string& text, const std::string& file, const std::string& line);
|
||||
void AddExtra(const std::string& key, const sentry_value_t& value);
|
||||
void AddExtra(const std::string& key, const std::string& value);
|
||||
void SetExtra(const std::string& key, const sentry_value_t& value);
|
||||
void SetExtra(const std::string& key, const std::string& value);
|
||||
void LogException(const std::exception& e, const std::string& file, const std::string& line);
|
||||
void AddErrorBreadcrumb(const std::string& msg, const std::string& file, const std::string& line);
|
||||
// cleared when Logged
|
||||
|
||||
Reference in New Issue
Block a user