Clarify what sentry sends, add a way to turn off the warning

This commit is contained in:
Lion Kortlepel
2021-09-10 15:53:08 +03:00
committed by Lion
parent 38b934bc0f
commit 6542be09ee
3 changed files with 28 additions and 5 deletions

View File

@@ -31,7 +31,8 @@ public:
, MaxCars(1)
, DebugModeEnabled(false)
, Port(30814)
, SendErrors(true) { }
, SendErrors(true)
, SendErrorsMessageEnabled(true) { }
std::string ServerName;
std::string ServerDesc;
std::string Resource;
@@ -44,6 +45,7 @@ public:
int Port;
std::string CustomIP;
bool SendErrors;
bool SendErrorsMessageEnabled;
[[nodiscard]] bool HasCustomIP() const { return !CustomIP.empty(); }
};
using TShutdownHandler = std::function<void()>;