Config: Add basic opt-out for Sentry

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-11 11:38:06 +03:00
1 parent 3cd94380e2
commit ffac000cd2
4 files changed
+29 -4

No files matched your search

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