Skip to content

fix(error-reporting): silence ResolutionError for event not found - #1598

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/error-reporting-resolution-error
Open

sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/error-reporting-resolution-error

Conversation

@sentry

@sentry sentry Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

This PR addresses issue CLI-RP by silencing ResolutionError instances that occur when users provide short or non-existent event IDs to commands like sentry event view.

Previously, ResolutionError was not included in the silence list within classifySilenced() in packages/cli/src/lib/error-reporting.ts. This led to a high volume of Sentry issues being created for expected user input errors (e.g., "Event 'a1b5d17e7682' not found."), which are not actionable CLI bugs.

The fix adds ResolutionError to the classifySilenced() function, categorizing it as a user_input_error. This ensures that such errors are now properly silenced, reducing noise in Sentry and allowing focus on genuine CLI defects.

Unit tests in error-reporting.test.ts have been updated to reflect this change, verifying that ResolutionError is now correctly silenced and a metric is emitted instead of capturing the exception.

Fixes CLI-RP

@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 20, 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 20, 2026 10:44am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Sep 20, 2026 10:44am UTC

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants