Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(update): Properly handle errors when getting latest CLI version #2370

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

szokeasaurusrex
Copy link
Member

The current code suppresses any API errors that occur when trying to get the latest CLI version. This is probably ideal behavior in the update nagger, but likely not in the sentry-cli update command.

This change also fixes a clippy::unnecessary_wraps lint.

Ref #2357

The current code suppresses any API errors that occur when trying to get the latest CLI version. This is probably ideal behavior in the update nagger, but likely not in the `sentry-cli update` command.

This change also fixes a `clippy::unnecessary_wraps` lint.

Ref #2357
@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) January 24, 2025 12:46
@szokeasaurusrex szokeasaurusrex merged commit 1adb385 into master Jan 24, 2025
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/cli-update branch January 24, 2025 12:55
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.

2 participants