提问人:Matt 提问时间:10/26/2023 更新时间:10/26/2023 访问量:39
Nuxt 构建因 Sentry 而失败
Nuxt build is failing because of Sentry
问:
我的 Sentry 实例暂时关闭了,我注意到它导致我的 Nuxt 构建失败。Bitbucket 管道的输出:
ERROR in Sentry CLI Plugin: Command failed: node_modules/@sentry/cli/sentry-cli releases new 4.1.0
error: API request failed
caused by: sentry reported an error: gateway timeout (http status: 504)
在我的 , 我有nuxt.config.js
sentry: {
dsn: "<dsn>",
disabled: isDevelopmentMode,
config: {
environment: process.env.ENV,
release: process.env.npm_package_version,
autoSessionTracking: false
},
publishRelease: isDevelopmentMode ? false : {
authToken: process.env.SENTRY_AUTH_TOKEN,
url: '<url>',
org: '<org>',
project: '<project>',
release: process.env.npm_package_version,
include: [`things`],
ignore: ['node_modules']
}
}
有没有办法防止此错误导致构建失败?
答: 暂无答案
评论