mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-16 04:03:17 +08:00
🔧 支持上传error
This commit is contained in:
@@ -24,6 +24,7 @@ Sentry.init({
|
||||
app,
|
||||
dsn: "https://8d59057c08ff381e1fccf3c9e97c6a6c@o4510617609175040.ingest.de.sentry.io/4510617659506768",
|
||||
release: `TeyvatGuide@${pkgJson.version}`,
|
||||
enableLogs: true,
|
||||
integrations: [
|
||||
Sentry.feedbackAsyncIntegration(<FeedbackInternalOptions>{
|
||||
// 🌗 主题与注入行为
|
||||
@@ -55,6 +56,7 @@ Sentry.init({
|
||||
removeHighlightText: "移除标记",
|
||||
hideToolText: "遮挡敏感信息",
|
||||
}),
|
||||
Sentry.consoleLoggingIntegration({ levels: ["error"] }),
|
||||
],
|
||||
beforeSend(event, hint) {
|
||||
console.log(hint);
|
||||
|
||||
Reference in New Issue
Block a user