From 592be65f272de0846a9f5647dc86fa1944962d0c Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 15 Apr 2026 20:11:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF=E8=87=AA=E5=8A=A8=E6=8D=95=E8=8E=B7?= =?UTF-8?q?=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index e8e57844..7237b02d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,6 +1,6 @@ /** * 应用入口 - * @since Beta v0.9.6 + * @since Beta v0.10.1 */ import * as Sentry from "@sentry/vue"; @@ -36,9 +36,9 @@ Sentry.init({ beforeSend(event, hint) { console.log(hint); // Check if it is an exception, and if so, show the report dialog - // if (event.exception && event.event_id) { - // Sentry.showReportDialog({ eventId: event.event_id }); - // } + if (event.exception && event.event_id) { + Sentry.showReportDialog({ eventId: event.event_id }); + } return event; }, // Setting this option to true will send default PII data to Sentry.