fix(sentry): don't fail the build when sentry upload fails
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a118580704
commit
0ca1b3a7f5
|
@ -48,6 +48,7 @@ function getSentryConfig(env: ImportMetaEnv): ViteSentryPluginOptions {
|
||||||
project: env.SENTRY_PROJECT,
|
project: env.SENTRY_PROJECT,
|
||||||
release: VERSION,
|
release: VERSION,
|
||||||
cleanSourcemapsAfterUpload: true,
|
cleanSourcemapsAfterUpload: true,
|
||||||
|
legacyErrorHandlingMode: true,
|
||||||
deploy: {
|
deploy: {
|
||||||
env: env.mode === 'production'
|
env: env.mode === 'production'
|
||||||
? 'production'
|
? 'production'
|
||||||
|
|
Reference in New Issue