mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Add user (identified by MAC) & ensure that no personal info is in server_name
This commit is contained in:
parent
8dc6e7a386
commit
0295113b31
@ -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):
|
||||
|
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user