Skip to content

Have Sentry fail gracefully during build phase #681

@lukemun

Description

@lukemun

Problem Statement

Sentry integration with popular build plugins can fail while uploading sourcemaps.

[08:16:55.637] unhandledRejection [Error: Command failed: /vercel/path0/node_modules/@sentry/cli-linux-x64/bin/sentry-cli releases new...
[08:16:55.637] error: API request failed
[08:16:55.637]
[08:16:55.638] Caused by:
[08:16:55.638]     sentry reported an error: unknown error (http status: 503)

This will fail the entire build process and potentially block deployments.

Is there a wail to fail gracefully to not block CI but still alert the user?

Solution Brainstorm

No response

Product Area

Issues - Source Maps

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions