aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-28 15:08:18 +0100
committerGitHub Enterprise <[email protected]>2024-03-28 15:08:18 +0100
commitd6bcf58a65fe8cfcdc03f64ea0d05ee8fd859303 (patch)
treed91c7657d3f85d86d249fd4a152db3f56eda3204 /src/zenserver/main.cpp
parentUse multithreading to fetch size/rawsize of entries in `/prj/{project}/oplog/... (diff)
downloadzen-d6bcf58a65fe8cfcdc03f64ea0d05ee8fd859303.tar.xz
zen-d6bcf58a65fe8cfcdc03f64ea0d05ee8fd859303.zip
Fix sentry using wrong folder path when data path contains non-anscii characters (#32)
* Fix sentry using wrong folder path when data path contains non-ascii characters
Diffstat (limited to 'src/zenserver/main.cpp')
-rw-r--r--src/zenserver/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp
index a9246ed8f..7a6d2dd22 100644
--- a/src/zenserver/main.cpp
+++ b/src/zenserver/main.cpp
@@ -89,8 +89,8 @@ ZenEntryPoint::Run()
if (m_ServerOptions.NoSentry == false)
{
- std::string SentryDatabasePath = PathToUtf8(m_ServerOptions.DataDir / ".sentry-native");
- std::string SentryAttachmentPath = PathToUtf8(m_ServerOptions.AbsLogFile);
+ std::string SentryDatabasePath = (m_ServerOptions.DataDir / ".sentry-native").string();
+ std::string SentryAttachmentPath = m_ServerOptions.AbsLogFile.string();
Sentry.Initialize(SentryDatabasePath, SentryAttachmentPath, m_ServerOptions.SentryAllowPII);
}