From 9bce58f8a17a08a3e5abe300ac06476525fc63d8 Mon Sep 17 00:00:00 2001 From: KAAAsS Date: Mon, 1 Jul 2024 20:35:42 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=20sentry=20=E6=95=8F=E6=84=9F=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- globals.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/globals.py b/globals.py index 4625aee..e12ad53 100644 --- a/globals.py +++ b/globals.py @@ -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):