Sentry Release Creation Failure Handling #15566
-
Hi, we are currently migrating to Sentry 9 (using Sentry Nuxt). So far it is looking promising but recently we had a couple of pipelines failing.
In these cases our build fails. Is there a recommended way to handle these kinds of error? If a release can not be created i still want to build my app and deploy it. Sentry Sourcemaps / Releases should not be blocking. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can use the Nuxt plugin's We are also switching to a model under the hood where we will no longer fail builds if there was an API error when communicating to Sentry. So stay tuned and keep the SDK up to date. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @lforst . Looking forward to it :) |
Beta Was this translation helpful? Give feedback.
You can use the Nuxt plugin's
unstable_sentryBundlerPluginOptions
option to pass aerrorHandler
option https://www.npmjs.com/package/@sentry/vite-plugin#errorhandler that you can catch all errors with.We are also switching to a model under the hood where we will no longer fail builds if there was an API error when communicating to Sentry. So stay tuned and keep the SDK up to date.