refactor: 移除更多 sentry 敏感信息上传
This commit is contained in:
parent
84092c252d
commit
9bce58f8a1
@ -77,11 +77,6 @@ def init():
|
||||
sample_rate=1.0,
|
||||
environment=environment
|
||||
)
|
||||
with sentry_sdk.configure_scope() as scope:
|
||||
scope.add_attachment(path="data")
|
||||
|
||||
import machineid
|
||||
sentry_sdk.set_user({"hwid": machineid.id()[:16]})
|
||||
return version, sentry_sdk
|
||||
|
||||
class HygException(Exception):
|
||||
|
Loading…
x
Reference in New Issue
Block a user