chore: 异常反馈增加姓名与邮箱配置

This commit is contained in:
wangxuefeng 2025-03-21 09:12:30 +08:00
parent 64b59a06a3
commit 4e584fccf3

View File

@ -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.