diff options
| author | Dan Engelbrecht <[email protected]> | 2025-06-09 12:22:27 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-06-09 12:22:27 +0200 |
| commit | feb888db2d557066ebe9eb3bb1d7e3b052ae1221 (patch) | |
| tree | 38002b17f35699ba61ac3d08994c3f2fa5aec8b7 /src/zenserver/main.cpp | |
| parent | use unique tmp name for auth token file (#426) (diff) | |
| download | zen-feb888db2d557066ebe9eb3bb1d7e3b052ae1221.tar.xz zen-feb888db2d557066ebe9eb3bb1d7e3b052ae1221.zip | |
`--sentry-dsn` option for zen command line and zenserver to control Sentry reporting endpoint (#427)
moved sentry database path to temporary directory for zen commandline
Diffstat (limited to 'src/zenserver/main.cpp')
| -rw-r--r-- | src/zenserver/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index 0f647cd5c..868126533 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -101,7 +101,11 @@ ZenEntryPoint::Run() std::string SentryDatabasePath = (m_ServerOptions.DataDir / ".sentry-native").string(); std::string SentryAttachmentPath = m_ServerOptions.AbsLogFile.string(); - Sentry.Initialize(SentryDatabasePath, SentryAttachmentPath, m_ServerOptions.SentryAllowPII, m_ServerOptions.CommandLine); + Sentry.Initialize(SentryDatabasePath, + SentryAttachmentPath, + m_ServerOptions.SentryDsn, + m_ServerOptions.SentryAllowPII, + m_ServerOptions.CommandLine); } #endif try |