From 0c8eda3f743bf076dc0a69439ee3f24b4d538cbe Mon Sep 17 00:00:00 2001 From: BTMuli Date: Tue, 30 Dec 2025 00:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E6=94=AF=E6=8C=81=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index 501f43ae..077fffea 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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({ // 🌗 主题与注入行为 @@ -55,6 +56,7 @@ Sentry.init({ removeHighlightText: "移除标记", hideToolText: "遮挡敏感信息", }), + Sentry.consoleLoggingIntegration({ levels: ["error"] }), ], beforeSend(event, hint) { console.log(hint);