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

Filter None from report, catch all possible exceptions during upload and do not stage the project #34

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

aanil
Copy link
Member

@aanil aanil commented Jan 25, 2024

No description provided.

@aanil aanil added the no validation validation not needed label Jan 25, 2024
@aanil aanil requested a review from alneberg January 25, 2024 13:43
op.projects_data.stage_data_for_project(project)
# catch any and every exception during upload
except Exception as e:
log.error(f"Theres was an issue in uploading/hiding reports for {project.project_id}: {e}")
Copy link
Member

Choose a reason for hiding this comment

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

Maybe make this error message more threatening. "Exception raised" and "Still continuing with other reports" and similar phrases could be used.

Copy link
Member Author

Choose a reason for hiding this comment

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

Made it a bit more threatening 😄

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

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

Comparison is base (913ae31) 75.33% compared to head (2a9909a) 75.52%.

Files Patch % Lines
daily_read/__main__.py 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   75.33%   75.52%   +0.19%     
==========================================
  Files           8        8              
  Lines         519      519              
==========================================
+ Hits          391      392       +1     
+ Misses        128      127       -1     

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

Copy link
Member

@alneberg alneberg left a comment

Choose a reason for hiding this comment

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

Thank you!

@aanil aanil merged commit 5ef79ea into NationalGenomicsInfrastructure:main Jan 29, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no validation validation not needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants