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

Wrap CC scheme download in try-except and continue on fail. #371

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

J08nY
Copy link
Member

@J08nY J08nY commented Oct 23, 2023

These scheme downloads fail very often, it is better to have just some schemes downloaded rather than to stop the whole download process and throw an exception. This then prevents the updates to go through on the web and means that the data gets stale.

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

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

Comparison is base (ecc28f7) 75.30% compared to head (0b74398) 75.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #371      +/-   ##
==========================================
- Coverage   75.30%   75.13%   -0.16%     
==========================================
  Files          54       54              
  Lines        6698     6701       +3     
==========================================
- Hits         5043     5034       -9     
- Misses       1655     1667      +12     
Files Coverage Δ
src/sec_certs/dataset/cc_scheme.py 85.00% <50.00%> (-4.18%) ⬇️

... and 3 files with indirect coverage changes

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

@J08nY J08nY merged commit ed6f324 into main Oct 24, 2023
8 checks passed
@J08nY J08nY deleted the feat/try-schemes branch October 24, 2023 08: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.

1 participant