From 4e584fccf34ed2de4ac14c8e0ce45730c3e3ce67 Mon Sep 17 00:00:00 2001 From: wangxuefeng Date: Fri, 21 Mar 2025 09:12:30 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BC=82=E5=B8=B8=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A7=93=E5=90=8D=E4=B8=8E=E9=82=AE=E7=AE=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/renderer/src/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/renderer/src/index.ts b/apps/renderer/src/index.ts index dceb89a..9b645fb 100644 --- a/apps/renderer/src/index.ts +++ b/apps/renderer/src/index.ts @@ -22,6 +22,13 @@ Sentry.init({ Sentry.replayIntegration(), // 异常端信息追踪 Sentry.browserTracingIntegration(), + // 异常反馈 + Sentry.feedbackIntegration({ + // Additional SDK configuration goes in here, for example: + colorScheme: 'system', + isNameRequired: true, + isEmailRequired: true, + }), ], // Session Replay replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.