-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
…and do not stage the project
daily_read/__main__.py
Outdated
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}") |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 😄
Codecov ReportAttention:
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
5ef79ea
into
NationalGenomicsInfrastructure:main
No description provided.