diff options
| author | Dan Engelbrecht <[email protected]> | 2023-11-24 09:33:03 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2023-11-24 09:33:03 +0100 |
| commit | d605c80aa12eb75f123ca92663380aa00620291d (patch) | |
| tree | 4ffc8f3c96aa576b07a100385d1a13a3e708aa77 | |
| parent | Updated branding (#567) (diff) | |
| download | zen-d605c80aa12eb75f123ca92663380aa00620291d.tar.xz zen-d605c80aa12eb75f123ca92663380aa00620291d.zip | |
fix truncation of sentry hostname
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zenserver/sentryintegration.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e74a07bb..485fe6b58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## - Feature: Added xmake task `updatefrontend` which updates the zip file containing the frontend html (`/src/zenserver/frontend/html.zip`) - Feature: Added `--powercycle` option to zenserver which causes it do shut down immediately after initialization is completed. This is useful for profiling startup/shutdown primarily but could also be useful for some kinds of validation/state upgrade scenarios +- Bugfix: Fix sentry host name where last character of name was being truncated - Improvement: The frontend html content is no longer appended at the end of the executable which prevented signing, instead it is compiled in from the `/src/zenserver/frontend/html.zip` archive - Improvement: MacOS now does ad-hoc code signing by default when issuing `xmake bundle`, signing with proper cert is done on CI builds - Improvement: Updated branding to be consistent with current working name ("Unreal Zen Storage Server" etc) diff --git a/src/zenserver/sentryintegration.cpp b/src/zenserver/sentryintegration.cpp index 05e80bb17..11bf78a75 100644 --- a/src/zenserver/sentryintegration.cpp +++ b/src/zenserver/sentryintegration.cpp @@ -242,7 +242,7 @@ SentryIntegration::Initialize(std::string SentryDatabasePath, std::string Sentry OK = GetComputerNameA(Buffer, &BufferLength); if (OK && BufferLength) { - m_SentryHostName = std::string(Buffer, BufferLength - 1); + m_SentryHostName = std::string(Buffer, BufferLength); } else { |