Add user (identified by MAC) & ensure that no personal info is in server_name

This commit is contained in:
Jaime van Kessel 2019-12-19 11:23:39 +01:00
parent 8dc6e7a386
commit 0295113b31
No known key found for this signature in database
GPG Key ID: 3710727397403C91
2 changed files with 5 additions and 2 deletions

View File

@ -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):

View File

@ -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():