aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpclient.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-08-22 16:24:37 +0200
committerGitHub Enterprise <[email protected]>2024-08-22 16:24:37 +0200
commit4e843f8ddcd36ad1510d514099a690053292cf7d (patch)
tree047f39008173b58161eed00c033b9e34cc0a4387 /src/zenhttp/httpclient.cpp
parentseparate worker pools into burst/background to avoid background jobs blocking... (diff)
downloadzen-4e843f8ddcd36ad1510d514099a690053292cf7d.tar.xz
zen-4e843f8ddcd36ad1510d514099a690053292cf7d.zip
Add zenserver session id to Sentry context (#133)
Diffstat (limited to 'src/zenhttp/httpclient.cpp')
-rw-r--r--src/zenhttp/httpclient.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/zenhttp/httpclient.cpp b/src/zenhttp/httpclient.cpp
index 1874b34eb..7ac0028cc 100644
--- a/src/zenhttp/httpclient.cpp
+++ b/src/zenhttp/httpclient.cpp
@@ -558,9 +558,7 @@ HttpClient::HttpClient(std::string_view BaseUri, const HttpClientSettings& Conne
, m_ConnectionSettings(Connectionsettings)
, m_Impl(new Impl(m_Log))
{
- StringBuilder<32> SessionId;
- GetSessionId().ToString(SessionId);
- m_SessionId = SessionId;
+ m_SessionId = GetSessionIdString();
}
HttpClient::~HttpClient()