Closed isaacna closed 2 years ago
Merging #157 (ee791de) into main (4f8b6c7) will increase coverage by
0.00%
. The diff coverage is45.45%
.
@@ Coverage Diff @@
## main #157 +/- ##
=======================================
Coverage 94.53% 94.53%
=======================================
Files 50 50
Lines 2543 2544 +1
=======================================
+ Hits 2404 2405 +1
Misses 139 139
Impacted Files | Coverage Δ | |
---|---|---|
cdp_backend/pipeline/event_gather_pipeline.py | 85.71% <45.45%> (+0.03%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 4f8b6c7...ee791de. Read the comment docs.
Link to Relevant Issue
This pull request resolves #154
Description of Changes
The error here was caused by a
requests.ConnectionError
.I added a catch for
ConnectionError
for everytry
statement that uploads a db model and hasresource_exists
validation.I'm assuming that wherever we don't have a
try
statement, we wouldn't want to proceed in the pipeline if something errors out during thatupload_db_model
step. But let me know if this assumption isn't correct