Skip to content

fix(error-reporting): Silence ResolutionError in Sentry - #1593

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-31w-silence-resolution-error
Open

sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-31w-silence-resolution-error

Conversation

@sentry

@sentry sentry Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

ResolutionError, which indicates that a user-provided event ID (or other resource) was not found, was previously being reported to Sentry as an issue.

These errors are user-facing "not found" errors, analogous to ValidationError or AuthError – they represent expected user input failures rather than CLI bugs. As such, they should be silenced to reduce noise in Sentry.

This change adds "resolution_error" to the SilenceReason type and introduces an instanceof ResolutionError check in classifySilenced() to prevent these events from being reported to Sentry, instead emitting a cli.error.silenced metric. This aligns with the existing pattern for other expected user-input failures (CLI-31W).

Fixes CLI-31W

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Sep 18, 2026 10:40am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Sep 18, 2026 10:40am UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant