From 5ce399490bf63a8f234638d36f6005cea5dc3f2e Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Fri, 17 Dec 2021 23:09:47 +0100 Subject: [PATCH] fix(linux): fix release version number for Sentry reporting Forgot to change the second occurrence of the version number for older Sentry SDK. (cherry picked from commit 20064ea42a1f9fe36ce37cbf85d4365e3271562b) --- linux/keyman-config/keyman_config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/keyman-config/keyman_config/__init__.py b/linux/keyman-config/keyman_config/__init__.py index 21f210f146..2309b67f72 100644 --- a/linux/keyman-config/keyman_config/__init__.py +++ b/linux/keyman-config/keyman_config/__init__.py @@ -80,7 +80,7 @@ else: # Note, legacy raven API requires secret (https://github.com/keymanapp/keyman/pull/5787#discussion_r721457909) SentryUrl = "https://1d0edbf2d0dc411b87119b6e92e2c357:e6d5a81ee6944fc79bd9f0cbb1f2c2a4@o1005580.ingest.sentry.io/5983525" - client = Client(SentryUrl, environment=__environment__, release=__version__) + client = Client(SentryUrl, environment=__environment__, release='release-' + __versionwithtag__) client.user_context({'id': hash(getpass.getuser())}) client.tags_context({ 'app': os.path.basename(sys.argv[0]),