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

Give API connection errors a specific exception class #301

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

akx
Copy link
Member

@akx akx commented Jan 3, 2024

This will make catching these easier in downstream projects like Jupyhai.

@akx akx requested review from a team, hylje and tokkoro and removed request for a team January 3, 2024 13:15
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (a680983) 86.74% compared to head (8a3a769) 86.72%.

Files Patch % Lines
valohai_cli/api.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
- Coverage   86.74%   86.72%   -0.02%     
==========================================
  Files         126      126              
  Lines        4359     4362       +3     
  Branches      907      907              
==========================================
+ Hits         3781     3783       +2     
- Misses        395      396       +1     
  Partials      183      183              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@hylje hylje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good

@akx akx merged commit efebfe3 into master Jan 3, 2024
6 of 8 checks passed
@akx akx deleted the reach-exception branch January 3, 2024 18:24
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