From 0ca1b3a7f5b8c74e81bc1665ffd87b79192d0af2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 18 Jun 2023 16:22:49 +0200 Subject: [PATCH] fix(sentry): don't fail the build when sentry upload fails --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index da5804ae4..7628fc3e7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -48,6 +48,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions { project: env.SENTRY_PROJECT, release: VERSION, cleanSourcemapsAfterUpload: true, + legacyErrorHandlingMode: true, deploy: { env: env.mode === 'production' ? 'production'