From ffc70bc164911cdbbf83b07f1de697511027568b Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 6 Apr 2023 10:48:09 +0800 Subject: [PATCH] refactor(sentry): sentry report ignore file too large error --- client/web/plugins/com.msgbyte.sentry/src/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/web/plugins/com.msgbyte.sentry/src/index.tsx b/client/web/plugins/com.msgbyte.sentry/src/index.tsx index f71610ea..f9e003fc 100644 --- a/client/web/plugins/com.msgbyte.sentry/src/index.tsx +++ b/client/web/plugins/com.msgbyte.sentry/src/index.tsx @@ -13,6 +13,8 @@ try { // of transactions for performance monitoring. // We recommend adjusting this value in production tracesSampleRate: 0.1, // reduce sentry quota usage + + ignoreErrors: ['File Too Large'], }); sharedEvent.on('loginSuccess', (userInfo) => {