We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58d51ae commit 9515efeCopy full SHA for 9515efe
src/classes/sentry.py
@@ -65,7 +65,7 @@ def init_tracing():
65
sdk.set_tag("machine", platform.machine())
66
sdk.set_tag("processor", platform.processor())
67
sdk.set_tag("platform", platform.platform())
68
- if distro:
+ if distro and platform.system() == "linux":
69
sdk.set_tag("distro", " ".join(distro.linux_distribution()))
70
sdk.set_tag("locale", info.CURRENT_LANGUAGE)
71
@@ -89,3 +89,4 @@ def set_user(*args):
89
def set_context(*args):
90
if sdk:
91
sdk.set_context(*args)
92
+
0 commit comments