diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-12-19 13:23:39 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-12-19 13:23:39 +0300 |
commit | 0295113b3103486af9f55a5dd333c8d103df1059 (patch) | |
tree | 6bae316c734e9528e68561dd0f2c17471fdb4b7d | |
parent | 8dc6e7a38670d81e919d4b3a817834308d6029b0 (diff) |
Add user (identified by MAC) & ensure that no personal info is in server_name
-rw-r--r-- | cura/CrashHandler.py | 4 | ||||
-rwxr-xr-x | cura_app.py | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index aa53ca0cc5..09fda25a73 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -7,7 +7,7 @@ import faulthandler import tempfile import os import os.path -import time +import uuid import json import locale from typing import cast @@ -212,6 +212,8 @@ class CrashHandler: scope.set_tag("locale_cura", self.cura_locale) scope.set_tag("is_enterprise", ApplicationMetadata.IsEnterpriseVersion) + scope.set_user({"id": str(uuid.getnode())}) + return group def _getOpenGLInfo(self): diff --git a/cura_app.py b/cura_app.py index 4909f1296d..51f9041e86 100755 --- a/cura_app.py +++ b/cura_app.py @@ -37,7 +37,8 @@ sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564", environment = sentry_env, release = "cura%s" % ApplicationMetadata.CuraVersion, default_integrations = False, - max_breadcrumbs = 200) + max_breadcrumbs = 300, + server_name = "cura") if not known_args["debug"]: def get_cura_dir_path(): |