aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-05-08 18:40:53 +0200
committerGitHub <[email protected]>2023-05-08 18:40:53 +0200
commita2e393d27f9b8245b39ad2e38c82986b05cebf6a (patch)
tree6c100f553ba3f11509dc72fce660cb73f6caa243 /src/zenserver/config.cpp
parentproject store gc lifetime (#257) (diff)
downloadzen-a2e393d27f9b8245b39ad2e38c82986b05cebf6a.tar.xz
zen-a2e393d27f9b8245b39ad2e38c82986b05cebf6a.zip
add ip and username to sentry reports if allowed in settings (#276)
* add ip and username to sentry reports if allowed in settings * add --sentry-allow-personal-info command line options to zenserver
Diffstat (limited to 'src/zenserver/config.cpp')
-rw-r--r--src/zenserver/config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenserver/config.cpp b/src/zenserver/config.cpp
index 08ef17c12..da0da2593 100644
--- a/src/zenserver/config.cpp
+++ b/src/zenserver/config.cpp
@@ -170,6 +170,9 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
options.add_options()("no-sentry",
"Disable Sentry crash handler",
cxxopts::value<bool>(ServerOptions.NoSentry)->default_value("false"));
+ options.add_options()("sentry-allow-personal-info",
+ "Allow personally identifiable information in sentry crash reports",
+ cxxopts::value<bool>(ServerOptions.SentryAllowPII)->default_value("false"));
options.add_option("security",
"",