Skip to content

fix(error-reporting): Silence ValidationError in telemetry#1233

Open
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-1an-silence-validation-error
Open

fix(error-reporting): Silence ValidationError in telemetry#1233
sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/cli-1an-silence-validation-error

Conversation

@sentry

@sentry sentry Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

ValidationError instances, which indicate malformed user input (e.g., too many positional arguments), were being reported to Sentry as issues. These errors are not CLI bugs but user mistakes and should be silenced.

This change adds ValidationError to the list of errors handled by classifySilenced() in src/lib/error-reporting.ts, preventing them from being sent to Sentry. This addresses CLI-1AN.

Fixes CLI-1AN

Comment @sentry <feedback> on this PR to have Autofix iterate on the changes.

@github-actions github-actions Bot added the risk: high PR risk score: high label Jul 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/_preview/pr-1233/

Built to branch gh-pages at 2026-07-13 22:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants